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 jjwiseman
Recipients jjwiseman
Date 2009-12-10.23:19:04
SpamBayes Score 7.332039e-08
Marked as misclassified No
Message-id <1260487146.66.0.443499521552.issue7476@psf.upfronthosting.co.za>
In-reply-to
Content
In python 2.5.2, I believe pipes.quote gives the wrong result for zero-
length arguments.

>>> from pipes import quote
>>> args = ['arg1', '', 'arg3']
>>> print 'mycommand %s' % (' '.join(quote(arg) for arg in args))
mycommand arg1  arg3

I think the result should be something like
mycommand arg1 '' arg3
History
Date User Action Args
2009-12-10 23:19:06jjwisemansetrecipients: + jjwiseman
2009-12-10 23:19:06jjwisemansetmessageid: <1260487146.66.0.443499521552.issue7476@psf.upfronthosting.co.za>
2009-12-10 23:19:04jjwisemanlinkissue7476 messages
2009-12-10 23:19:04jjwisemancreate