[issue4880] PyInt_FromSsize_t LONG_MIN and LONG_MAX typecasts needed

Martin v. Löwis report at bugs.python.org
Thu Jan 8 21:42:06 CET 2009


Martin v. Löwis <martin at v.loewis.de> added the comment:

I think you should study the preprocessor output to find out what
LONG_MAX really expands to, at the point where it is used.

In any case, I'm tempted to close this as "works for me" - 0x7FFFFFFFL
is definitely a long constant in all compilers I know of.

----------
nosy: +loewis

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4880>
_______________________________________


More information about the Python-bugs-list mailing list