[issue32067] Deprecate accepting unrecognized braces in regular expressions
Serhiy Storchaka
report at bugs.python.org
Sat Nov 18 13:14:02 EST 2017
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
Since this will require changing regular expressions in several places in the stdlib I have chosen emitting PendingDeprecationWarning and long deprecation period.
But I'm now not sure that this is a good idea. Non-escaped braces can be used much in a wild. It may be better to use other heuristic for recognizing the fuzzy matching and other possible extensions that use braces.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32067>
_______________________________________
More information about the Python-bugs-list
mailing list