[issue32912] Raise non-silent warning for invalid escape sequences

Serhiy Storchaka report at bugs.python.org
Mon Jul 22 03:07:52 EDT 2019


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

The warning in docutils was fixed in https://sourceforge.net/p/docutils/code/8255/ 1.5 months ago. It was an outliner, all other occurrences of \leavevmode were either with the double backslash or in raw string literals.

The Bottle code was written 5 years age (https://github.com/bottlepy/bottle/commit/8a5bfe2f70a4a5d22b93e909b207584324817760), it was a part of the raw string. But a bug was introduced when it it was backported to the 0.12 version (https://github.com/bottlepy/bottle/commit/1f6fda636a4ea88adfa4292f3c843e71b1a685d8).

----------
nosy: +Eric Wieser

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32912>
_______________________________________


More information about the Python-bugs-list mailing list