[issue27364] Deprecate invalid escape sequences in str/bytes

Serhiy Storchaka report at bugs.python.org
Tue Jul 11 00:15:13 EDT 2017


Serhiy Storchaka added the comment:

Yes, this was the intention. One of often errors is using "\n" in non-raw docstrings. This change doesn't prevent this error, but increases chances of catching it when there are other backslashes in the docstring.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27364>
_______________________________________


More information about the Python-bugs-list mailing list