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 abarry
Recipients abarry
Date 2018-02-22.18:34:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
This is a follow-up to Issue27364.

Back in Python 3.6, a silent warning was added for all invalid escape sequences in str and bytes. It was suggested that it would remain a silent warning (which still impacts tests, while not visually annoying the average user) for two releases (3.6 and 3.7), then would be upgraded to a non-silent warning for two subsequent releases (3.8 and 3.9) before becoming a full-on syntax error. With the 3.7 feature freeze on and going, I think it's time to evaluate the approach we take for 3.8 :)

I suggest upgrading the DeprecationWarning to a SyntaxWarning, which is visible by default, for 3.8 and 3.9. I have cross-linked #27364 to this issue as well.

Date User Action Args
2018-02-22 18:34:57abarrysetrecipients: + abarry
2018-02-22 18:34:57abarrysetmessageid: <>
2018-02-22 18:34:57abarrylinkissue32912 messages
2018-02-22 18:34:57abarrycreate