[issue4880] PyInt_FromSsize_t LONG_MIN and LONG_MAX typecasts needed

Luke Kenneth Casson Leighton report at bugs.python.org
Thu Jan 8 17:40:57 CET 2009

Luke Kenneth Casson Leighton <lkcl at lkcl.net> added the comment:

oh, duh - 2L not 1L yes you're right :)

yeh i believe it's likely to be because in PC/pyconfig.h LONG_MAX is
#defined to 7fffffff not 7fffffffL i'll double-check.

you're right that would make life a looot easier.

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list