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

Shreevatsa R report at bugs.python.org
Wed Sep 30 22:48:47 CEST 2015

Shreevatsa R added the comment:

About the mismatch: of course it's probably not a good idea to change the parser (so that simply typing १२३४ in Python 3 code is like typing 1234), but how about changing the behaviour of int()? Not sure whether anyone should be relying on int(u'१२३४') being 1234, given that it is not documented as such.


Python tracker <report at bugs.python.org>

More information about the docs mailing list