New submission from Sebastian Kacprzak <n...@naitbit.com>: In Python 3.5 and earlier (tested 3.5.3 and 2.7.13) b'\\\xfa'.decode('unicode-escape', errors='ignore') did return '\\รบ'
but in Python 3.6 it raises OverflowError: decoding with 'unicode-escape' codec failed (OverflowError: character argument not in range(0x110000)) Python 3.6.1 (default, Sep 7 2017, 16:36:03) [GCC 6.3.0 20170406] on linux ---------- messages: 304651 nosy: nait priority: normal severity: normal status: open title: bytes decode raises OverflowError desipte errors='ignore' versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31825> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com