[issue2844] int() lies about base parameter
Alexander Belopolsky
report at bugs.python.org
Tue May 13 17:57:16 CEST 2008
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
The same issue is present in long_new:
>>> long('42', -909)
42L
I don't see why any magic value is needed, 10 would do the trick.
----------
nosy: +belopolsky
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2844>
__________________________________
More information about the Python-bugs-list
mailing list