Message370163
codeop._maybe_compile wraps each compile in try ... except SyntaxError. It can later reraise just once. I think it a bug that it is not similarly careful about SyntaxWarning and DeprecationWarning to only emit a particular warning just once.
Cheryl, would you like to open a new issue and submit a patch? |
|
Date |
User |
Action |
Args |
2020-05-28 03:50:16 | terry.reedy | set | recipients:
+ terry.reedy, rhettinger, taleinat, serhiy.storchaka, cheryl.sabella, miss-islington |
2020-05-28 03:50:16 | terry.reedy | set | messageid: <1590637816.01.0.54765938773.issue37824@roundup.psfhosted.org> |
2020-05-28 03:50:16 | terry.reedy | link | issue37824 messages |
2020-05-28 03:50:15 | terry.reedy | create | |
|