Please sign in to comment.
[3.8] bpo-32912: Revert SyntaxWarning on invalid escape sequences (GH…
…-15142) * bpo-32912: Revert warnings for invalid escape sequences. DeprecationWarning will continue to be emitted for invalid escape sequences in string and bytes literals in 3.8 just as it did in 3.7. SyntaxWarning may be emitted in the future. But per mailing list discussion, we don't yet know when because we haven't settled on how to do so in a non-disruptive manner.
- Loading branch information...
Showing with 43 additions and 18 deletions.
|@@ -0,0 +1,3 @@|
|Reverted :issue:`32912`: emitting :exc:`SyntaxWarning` instead of|
|:exc:`DeprecationWarning` for invalid escape sequences in string and bytes|