[issue16980] SystemError in codecs.unicode_escape_decode()
Changes by Serhiy Storchaka storch...@gmail.com: -- resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16980 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16980] SystemError in codecs.unicode_escape_decode()
Roundup Robot added the comment: New changeset dcbc16afd6bc by Serhiy Storchaka in branch '3.3': Issue #16980: Fix processing of escaped non-ascii bytes in the http://hg.python.org/cpython/rev/dcbc16afd6bc New changeset d8c2ce63f5a4 by Serhiy Storchaka in branch 'default': Issue #16980: Fix processing of escaped non-ascii bytes in the http://hg.python.org/cpython/rev/d8c2ce63f5a4 -- nosy: +python-dev ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16980 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16980] SystemError in codecs.unicode_escape_decode()
New submission from Serhiy Storchaka: import codecs codecs.unicode_escape_decode(b'\\\x80') Traceback (most recent call last): File stdin, line 1, in module SystemError: invalid maximum character passed to PyUnicode_New -- assignee: serhiy.storchaka components: Unicode keywords: 3.3regression messages: 180089 nosy: ezio.melotti, serhiy.storchaka priority: high severity: normal stage: needs patch status: open title: SystemError in codecs.unicode_escape_decode() type: crash versions: Python 3.3, Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16980 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue16980] SystemError in codecs.unicode_escape_decode()
Serhiy Storchaka added the comment: Here is a fix. The complete test suite will be in issue16979. -- keywords: +patch stage: needs patch - patch review Added file: http://bugs.python.org/file28751/unicode_escape_decode_escaped_nonascii.patch ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue16980 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com