Mark Dickinson <[email protected]> added the comment: This is by design: int looks for characters with the Unicode Decimal (De) numeric type, corresponding to str.isdecimal(), rather than for the Digit (Di) or Numeric (Nu) numeric types.
>>> "²".isdecimal() False ---------- nosy: +mark.dickinson _______________________________________ Python tracker <[email protected]> <https://bugs.python.org/issue46694> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
