Message160720
| 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:03 | loewis | set | recipients:
+ loewis |
| 2012年05月15日 12:23:03 | loewis | set | messageid: <1337084583.39.0.478373351813.issue14815@psf.upfronthosting.co.za> |
| 2012年05月15日 12:23:02 | loewis | link | issue14815 messages |
| 2012年05月15日 12:23:02 | loewis | create |
|