Message119411
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. |
|
Date |
User |
Action |
Args |
2010-10-23 02:10:00 | casevh | set | recipients:
+ casevh, lemburg, tim.peters, loewis, skip.montanaro, georg.brandl, rhettinger, jimjjewett, mark.dickinson, belopolsky, pitrou, ked-tao, benjamin.peterson |
2010-10-23 02:10:00 | casevh | set | messageid: <1287799800.31.0.075762814459.issue9778@psf.upfronthosting.co.za> |
2010-10-23 02:09:58 | casevh | link | issue9778 messages |
2010-10-23 02:09:57 | casevh | create | |
|