[issue31580] Defer compiling regular expressions
Stefan Behnel
report at bugs.python.org
Tue Sep 26 15:01:24 EDT 2017
Stefan Behnel added the comment:
I'm also against changing re.compile() to not compile.
And I often write code like this:
replace_whitespace = re.compile(r"\s+").sub
which is not covered by your current proposed change.
----------
nosy: +scoder
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31580>
_______________________________________
More information about the Python-bugs-list
mailing list