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 pitrou
Recipients mark.dickinson, pitrou, rhettinger, serhiy.storchaka, vstinner
Date 2015-02-20.10:42:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424428946.69.0.590042974084.issue23488@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I noticed this when reimplementing the random module in Numba.
*Theoretically*, I think you need "long" to ensure ints are at least 32 bits. But in practice, I think CPython already needs 32-bit C ints.

(note Numpy also uses C longs internally)

> Would it be possible to benchmark this change, to ensure that it doesn't kill performances?

There is no way it can kill performance.
History
Date User Action Args
2015-02-20 10:42:26pitrousetrecipients: + pitrou, rhettinger, mark.dickinson, vstinner, serhiy.storchaka
2015-02-20 10:42:26pitrousetmessageid: <1424428946.69.0.590042974084.issue23488@psf.upfronthosting.co.za>
2015-02-20 10:42:26pitroulinkissue23488 messages
2015-02-20 10:42:26pitroucreate