Serhiy Storchaka added the comment:

> (And as a matter of principle, 
> INT_MAX isn't really right here: an int might be only 16 bits long on 
> some strange platforms...).

AFAIK Python doesn't support such platforms (and C standard requites at least 
32-bit ints). However there are strange platforms with 64-bit ints. That's why 
I used the explicit constant 0x7FFFFFFF.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5308>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to