Alexander Belopolsky <belopol...@users.sourceforge.net> added the comment:

I am attaching a patch that uses a regular union of long and Py_ssize_t to 
store cached hash/index value in both set and dict entry.  Using an anonymous 
union would simplify the patch and would reduce the likelihood of breaking 
extensions that access entry structs.

----------
Added file: http://bugs.python.org/file18004/issue1646068.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue1646068>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to