Mercurial > cpython-lru_cache-weakref
comparison Python/graminit.c @ 22120:b2a2cc0c2a63 legacy-trunk
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
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Sun, 03 Mar 2002 21:30:27 +0000 |
| parents | 56141b86a7f2 |
| children | 2600cf7d33af |
comparison
equal
deleted
inserted
replaced
| 22118:cbc08b172d1f | 22120:b2a2cc0c2a63 |
|---|
