Terry J. Reedy <tjre...@udel.edu> added the comment:

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.

----------
nosy: +cheryl.sabella
priority:  -> release blocker
resolution: fixed -> 
stage: resolved -> needs patch
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41520>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to