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 <rep...@bugs.python.org>
<https://bugs.python.org/issue31580>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to