[Python-Dev] shellwords

Gustavo Niemeyer niemeyer@conectiva.com
Wed, 16 Apr 2003 12:22:56 -0300

> Gustavo> Is there any chance of getting shellwords[1] into Python 2.3?
> Can shlex not be convinced to do what you want?  (Yes, I saw your Q/A, but
> didn't quite understand it.)

I haven't tried, but it surely can, subclassing and rewritting portions
of it. OTOH, shellwords is about half the size of shlex, and shlex looks
overly complex for something simple like

args = shellwords(line)

Btw, it wasn't *my* Q/A, I haven't written shellwords.

Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]