[pypy-issue] [issue916] int(string, 0), if string is not a parseable number

Armin Rigo tracker at bugs.pypy.org
Wed Oct 19 13:17:20 CEST 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

Just for fun: on CPython,

>>> int("5", -909)

But only if the base is set to -909.  PyPy doesn't reproduce this behavior, but
I guess this is not a bug :-)

nosy: +arigo

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list