This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients cheryl.sabella, miss-islington, rhettinger, serhiy.storchaka, taleinat, terry.reedy
Date 2020-05-28.03:50:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:16terry.reedysetrecipients: + terry.reedy, rhettinger, taleinat, serhiy.storchaka, cheryl.sabella, miss-islington
2020-05-28 03:50:16terry.reedysetmessageid: <>
2020-05-28 03:50:16terry.reedylinkissue37824 messages
2020-05-28 03:50:15terry.reedycreate