
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-10-20 09:58 byNaitbit, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 4058 | merged | serhiy.storchaka,2017-10-20 11:10 | |
| PR 4059 | merged | python-dev,2017-10-20 14:08 | |
| Messages (4) | |||
|---|---|---|---|
| msg304651 -(view) | Author: Sebastian Kacprzak (Naitbit) | Date: 2017-10-20 09:58 | |
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 | |||
| msg304656 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-10-20 14:08 | |
New changeset56cb465cc93dcb35aaf7266ca3dbe2dcff1fac5f by Serhiy Storchaka in branch 'master':bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058)https://github.com/python/cpython/commit/56cb465cc93dcb35aaf7266ca3dbe2dcff1fac5f | |||
| msg304658 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-10-20 14:41 | |
New changeset1e78ed6825701029aa45a68f9e62dd3bb8d4e928 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6':bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (GH-4058) (#4059)https://github.com/python/cpython/commit/1e78ed6825701029aa45a68f9e62dd3bb8d4e928 | |||
| msg304659 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-10-20 14:42 | |
Thank you for your report Sebastian. | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:53 | admin | set | github: 76006 |
| 2017-10-20 14:42:35 | serhiy.storchaka | set | status: open -> closed resolution: fixed messages: +msg304659 stage: patch review -> resolved |
| 2017-10-20 14:41:31 | serhiy.storchaka | set | messages: +msg304658 |
| 2017-10-20 14:08:29 | python-dev | set | pull_requests: +pull_request4028 |
| 2017-10-20 14:08:21 | serhiy.storchaka | set | messages: +msg304656 |
| 2017-10-20 11:10:59 | serhiy.storchaka | set | keywords: +patch stage: patch review pull_requests: +pull_request4027 |
| 2017-10-20 10:51:03 | serhiy.storchaka | set | versions: + Python 3.7 nosy: +serhiy.storchaka,ezio.melotti,eric.smith,vstinner assignee:serhiy.storchaka components: + Interpreter Core, Unicode type: behavior |
| 2017-10-20 09:58:20 | Naitbit | create | |