This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Show Location of Unicode Escape Errors
Type: Stage:
Components: Interpreter Core Versions: Python 2.6
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: gvanrossum Nosy List: gvanrossum, kbk
Priority: normal Keywords: patch

Created on 2007-07-18 05:36 by kbk, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
unicode_escape_err.patch kbk, 2007-07-18 05:36 unicode escape err patch #1
Messages (2)
msg52911 - (view) Author: Kurt B. Kaiser (kbk) * (Python committer) Date: 2007-07-18 05:36
ref http://mail.python.org/pipermail/python-3000/2007-July/008762.html

This patch massages a unicode escape decoding error encountered during compilation into a syntax error, making it much easier to locate.
msg52912 - (view) Author: Guido van Rossum (gvanrossum) * (Python committer) Date: 2007-07-18 17:19
Thanks! I checked a slightly modified version in.
Committed revision 56441.
History
Date User Action Args
2022-04-11 14:56:25adminsetgithub: 45218
2007-07-18 05:36:32kbkcreate