[issue1779] int("- 1") is valud, but float("- 1") isn't. Which is right?

Mark Dickinson report at bugs.python.org
Sat Jan 12 18:35:34 CET 2008


Mark Dickinson added the comment:

For Python 3.0, this is a trivial fix:  two lines need to be removed 
from PyLong_FromString in longobject.c, and then the tests in 
test_builtin need to be fixed up.

(For Python 2.6, the fix would be a bit more involved:  PyOS_strtol 
would also need fixing.)

A good candidate for the bug day?

----------
keywords: +easy
nosy: +marketdickinson

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1779>
__________________________________


More information about the Python-bugs-list mailing list