Author casevh
Recipients belopolsky, benjamin.peterson, casevh, georg.brandl, jimjjewett, ked-tao, lemburg, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, tim.peters
Date 2010-10-23.02:09:57
SpamBayes Score 3.50413e-06
Marked as misclassified No
Message-id <1287799800.31.0.075762814459.issue9778@psf.upfronthosting.co.za>
In-reply-to
Content
I maintain gmpy and it needs to calculate hash values for integers, floats, and rationals. I converted my hash calculations to use Py_ssize_t in a 64-bit Windows enviroment. All my tests pass when I build Python with my previous patch.

In hindsight, I think I made a mistake in my previous patch by eliminating Py_hash_t and using Py_ssize_t/size_t. I ended up defining Py_hash_t and Py_uhash_t in gmpy to simplify the code and to easily support older versions of Python.

I will work on a patch that defines Py_hash_t and Py_uhash_t and upload it later this evening.
History
Date User Action Args
2010-10-23 02:10:00casevhsetrecipients: + casevh, lemburg, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, pitrou, ked-tao, benjamin.peterson
2010-10-23 02:10:00casevhsetmessageid: <1287799800.31.0.075762814459.issue9778@psf.upfronthosting.co.za>
2010-10-23 02:09:58casevhlinkissue9778 messages
2010-10-23 02:09:57casevhcreate