This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 casevh
收信人 belopolsky, benjamin.peterson, casevh, georg.brandl, jimjjewett, ked-tao, lemburg, loewis, mark.dickinson, pitrou, rhettinger, skip.montanaro, tim.peters
日期 2010-10-23.02:09:57
SpamBayes Score 3.5041253e-06
Marked as misclassified
Message-id <1287799800.31.0.075762814459.issue9778@psf.upfronthosting.co.za>
In-reply-to
内容
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.
历史
日期 用户 动作 参数
2010-10-23 02:10:00casevh修改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:00casevh修改messageid: <1287799800.31.0.075762814459.issue9778@psf.upfronthosting.co.za>
2010-10-23 02:09:58casevh链接issue9778 messages
2010-10-23 02:09:57casevh创建