Message146589
The first version I wrote *did* automatically invoke shlex.quote on all interpolated values, but that breaks wildcard handling. You can see that in the examples I posted above. With the default whitespace escaping (which allows spaces in filenames), wildcard matching still works (thus the list of directories matching the "../py*" pattern), but with full quoting it breaks (thus the "nothing named '../py*'" result).
So I figured the simplest default was "you can have spaces in your filenames, but otherwise you can do what you want". Now that I have the 'unquoted' conversion specifier, I'm open to tweaking that scheme to allow the same chars that shlex.quote does *plus* specifically the wildcard matching chars (i.e. '*', '?'). |
|
Date |
User |
Action |
Args |
2011-10-29 01:40:15 | ncoghlan | set | recipients:
+ ncoghlan, pitrou, eric.araujo, alex, cvrebert |
2011-10-29 01:40:15 | ncoghlan | set | messageid: <1319852415.39.0.944796154343.issue13238@psf.upfronthosting.co.za> |
2011-10-29 01:40:14 | ncoghlan | link | issue13238 messages |
2011-10-29 01:40:14 | ncoghlan | create | |
|