[issue3756] re.escape() does not work with bytes()
Antoine Pitrou
report at bugs.python.org
Thu Sep 4 16:28:20 CEST 2008
Antoine Pitrou <pitrou at free.fr> added the comment:
I don't think there are cases where re.escape is performance critical -
are there any?
By the way, it seems to me the simplest way to write re.escape() would
be to use a regexp to do the replacement. It might or might not be the
fastest.
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3756>
_______________________________________
More information about the Python-bugs-list
mailing list