[issue4880] PyInt_FromSsize_t LONG_MIN and LONG_MAX typecasts needed
Mark Dickinson
report at bugs.python.org
Thu Jan 8 16:46:25 CET 2009
Mark Dickinson <dickinsm at gmail.com> added the comment:
Interesting. How many of those casts are actually necessary to make
things work? Have you figured out more precisely why this is failing?
E.g., is it somehow that LONG_MIN ends up being an unsigned constant?
It seems to me that a better fix would be to fix LONG_MIN and LONG_MAX
somewhere in the configuration files; there are bound to be more uses of
LONG_MIN and LONG_MAX in the source that are going to cause problems.
P.S. Looking at your python-dev messages, does len([1, 2]) really return
1L? Not 2L?
----------
nosy: +marketdickinson
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4880>
_______________________________________
More information about the Python-bugs-list
mailing list