Message294707
The traceback contain the location of the code that raised an exception when executed. In case of NameError this is a line in your script "x=u". In case of SyntaxError the code that failed is not in your script (it still is not executed), but in a compiler implicitly called by exec(). The line with exec() is correctly reported.
The behavior looks correct to me. |
|
Date |
User |
Action |
Args |
2017-05-29 17:56:29 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, stefan, ncoghlan, benjamin.peterson, yselivanov |
2017-05-29 17:56:29 | serhiy.storchaka | set | messageid: <1496080589.3.0.0455566659616.issue30496@psf.upfronthosting.co.za> |
2017-05-29 17:56:29 | serhiy.storchaka | link | issue30496 messages |
2017-05-29 17:56:29 | serhiy.storchaka | create | |
|