[docs] [issue25275] Documentation v/s behaviour mismatch wrt integer literals containing non-ASCII characters

R. David Murray report at bugs.python.org
Wed Sep 30 22:54:42 CEST 2015

R. David Murray added the comment:

Good catch.  Yes, it is already documented that Int ignores leading and trailing whitespace.

But, even that isn't quite correct:

>>> 'A'.isdecimal()
>>> int('A', 16)

I seem to vaguely recall a discussion somewhere in this tracker about what "should" count as digits for larger-than-decimal radii, but I don't remember the outcome.


Python tracker <report at bugs.python.org>

More information about the docs mailing list