]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Patch #50002: Display line information for bad \x escapes:
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 3 Mar 2002 21:32:01 +0000 (21:32 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 3 Mar 2002 21:32:01 +0000 (21:32 +0000)
commit59509f511ed8eacbefecc4357c69036fc036effe
tree79ebe91082f869304032021b166d9898a3eb778d
parentebaaf187114625811ed7c7a1791f9cb77186d545
Patch #50002: Display line information for bad \x escapes:
- recognize "SyntaxError"s by the print_file_and_line attribute.
- add the syntaxerror attributes to all exceptions in compile.c.
Fixes #221791
Misc/NEWS
Python/compile.c
Python/errors.c
Python/exceptions.c
Python/pythonrun.c