[issue9723] Add shlex.quote

R. David Murray report at bugs.python.org
Fri Jul 29 16:44:26 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Well, it's a micro-optimization (it would be interesting to benchmark, but not worth it).  I find the original code much more readable than the regex, but it doesn't matter all that much.  (And as far as optimization goes, using translate might be even faster.)

----------

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


More information about the Python-bugs-list mailing list