Message43385
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.
|
|
Date |
User |
Action |
Args |
2007-08-23 15:22:17 | admin | link | issue722686 messages |
2007-08-23 15:22:17 | admin | create | |
|