[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()
False
>>> int('A', 16)
10
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>
<http://bugs.python.org/issue25275>
_______________________________________
More information about the docs
mailing list