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, lukasz.langa, mbussonn, miss-islington, tcaswell, terry.reedy, vstinner
Date 2020-08-12.17:55:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597254903.64.0.932044720591.issue41520@roundup.psfhosted.org>
In-reply-to
Content
This 'fix' introduces another regression by undoing the previous fix in issue 40807 of emitting DeprecationWarning (for '\e', for instance) just once instead of thrice.

I suspect that the example of Matthias would fail in a debug build (with DeprecationWarnings on) for DeprecationWarning also.

PR-21848 removes the limitation of the first fix to SyntaxWarning and includes DeprecationWarning in the test for single emission.
History
Date User Action Args
2020-08-12 17:55:03terry.reedysetrecipients: + terry.reedy, vstinner, lukasz.langa, tcaswell, mbussonn, cheryl.sabella, miss-islington
2020-08-12 17:55:03terry.reedysetmessageid: <1597254903.64.0.932044720591.issue41520@roundup.psfhosted.org>
2020-08-12 17:55:03terry.reedylinkissue41520 messages
2020-08-12 17:55:03terry.reedycreate