Serhiy Storchaka added the comment: Yes. For details you need to read The Unicode Standard.
And every decimal character is accepted by the int() constructor, but non-decimal digits are not. >>> for d in decimals: x = int(d) ... >>> for d in set(digits) - set(decimals): ... try: ... int(d) ... except ValueError: ... pass ... else: ... raise AssertionError ... ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26483> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com