Mark Dickinson <dicki...@gmail.com> added the comment:

> ... change all hash values to be of Py_ssize_t values rather than C longs ...

Yes, please!  (Provided this change can go in before 3.2.)  For the numeric 
types at least, this should be a straightforward adjustment.

And while we're at it, we could clean up some of the undefined behaviour from 
integer overflow that's in the current hash functions (tuple.__hash__, for 
example).

----------

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

Reply via email to