Author casevh
Recipients belopolsky, benjamin.peterson, casevh, georg.brandl, jimjjewett, ked-tao, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, tim.peters
Date 2010-10-18.02:43:25
SpamBayes Score 3.76214e-06
Marked as misclassified No
Message-id <1287369807.57.0.453380548612.issue9778@psf.upfronthosting.co.za>
In-reply-to
Content
The patch does not address that "unsigned long" is still used to calculate the hash values. This breaks numeric hashing and leads to incorrect values.

Python 3.2a3+ (py3k, Oct 17 2010, 19:03:38) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys.hash_info
sys.hash_info(width=64, modulus=-1, inf=314159, nan=0, imag=1000003)
>>>

Would "size_t" be the appropriate type to use?
History
Date User Action Args
2010-10-18 02:43:27casevhsetrecipients: + casevh, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, pitrou, ked-tao, benjamin.peterson
2010-10-18 02:43:27casevhsetmessageid: <1287369807.57.0.453380548612.issue9778@psf.upfronthosting.co.za>
2010-10-18 02:43:26casevhlinkissue9778 messages
2010-10-18 02:43:25casevhcreate