Antoine Pitrou added the comment: I reproduce under 64-bit Linux. So this may be because the Python long digit (30 bits) is smaller than the C long (64 bits).
Lukasz: is there a specific use case? Note you can use Numpy for such calculations. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com