]> granicus.if.org Git - python/commit
Patch #50002: Display line information for bad \x escapes:
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 3 Mar 2002 21:30:27 +0000 (21:30 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 3 Mar 2002 21:30:27 +0000 (21:30 +0000)
commitcfeb3b6ab8e213cb3551b101d0566d77f5b47409
tree657521ff13e38d11dd10535827b4272af965b856
parent290d31e2fc02a0d887da2c76fbe4e72377442a0a
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