[issue30187] Regex becomes invalid in python 3.6

Serhiy Storchaka report at bugs.python.org
Thu Apr 27 10:59:38 EDT 2017


Serhiy Storchaka added the comment:

This is ambiguous syntax. Unknown escapes consisting of '\' and ASCII letter were deprecated in 3.5 (run the interpreter with the option -Wa to see all warnings) and are errors since 3.6. Note that the string literal '[^\B]' itself produces a DeprecationWarning in 3.6.

----------
nosy: +serhiy.storchaka
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

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


More information about the Python-bugs-list mailing list