[issue9723] Add shlex.quote

Éric Araujo report at bugs.python.org
Fri Jul 29 15:35:58 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

I suck at regexes, but the one I came up with lets quote pass the tests that existed for pipes.quote, so I figure it’s good.  I did not change the string operations at the end of the function (+ and replace) as it was simple and working.

In the absence of review or opposition here, I have committed my patch.  Feedback welcome.

----------
resolution:  -> fixed
stage: patch review -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list