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.

Author loewis
Recipients loewis
Date 2012-05-15.12:23:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1337084583.39.0.478373351813.issue14815@psf.upfronthosting.co.za>
In-reply-to
Content
random_seed has this code:

  long hash = PyObject_Hash(arg);

On Win64, Py_hash_t is a 64-bit type, yet long is a 32-bit type, so this truncates. I think the computation should be done in Py_ssize_t.
History
Date User Action Args
2012-05-15 12:23:03loewissetrecipients: + loewis
2012-05-15 12:23:03loewissetmessageid: <1337084583.39.0.478373351813.issue14815@psf.upfronthosting.co.za>
2012-05-15 12:23:02loewislinkissue14815 messages
2012-05-15 12:23:02loewiscreate