This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author niemeyer
Recipients
Date 2003-04-17.21:36:04
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=7887

I had to change the implementation to make it understand
escaping as presented in posix shells. I've also introduced
other minor changes, like including iso-8859-1 characters in
wordchars, and a new whitespace_split mode, which helps in
shell argument parsing routines.

Besides that, I've written complex testcases based on the
shellwords dataset (which was generated with help of a posix
shell), and ported the dataset to work in non-posix mode as
well. The later tests were also executed in Python 2.2 to
check for compatibility issues, and no problems were detected.

I've also written documentation for the new features, and
included a simple description of how the parser will behave
in posix and non-posix modes.

These changes were applied as:

Doc/lib/libshlex.tex: 1.13
Lib/shlex.py: 1.18
Lib/test/test_shlex.py: 1.1
Misc/NEWS: 1.731

I've attached the new patch (Version 2) here for reference.
History
Date User Action Args
2007-08-23 15:22:17adminlinkissue722686 messages
2007-08-23 15:22:17admincreate