Message284355
For your convenience, here is a possible patch fixing these issues. It modifies the format_exception_only function in the traceback module to follow the behavior of the interpreter a little more closely for SyntaxError's. Feel free to use, in whole, in part, or not at all, as you wish. Happy new year! :-) |
|
Date |
User |
Action |
Args |
2016-12-30 23:46:03 | Naftali.Harris | set | recipients:
+ Naftali.Harris, kbk, benjamin.peterson |
2016-12-30 23:46:03 | Naftali.Harris | set | messageid: <1483141563.07.0.580997338155.issue29107@psf.upfronthosting.co.za> |
2016-12-30 23:46:03 | Naftali.Harris | link | issue29107 messages |
2016-12-30 23:46:02 | Naftali.Harris | create | |
|