New submission from John Wiseman <jjwise...@gmail.com>: 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 ---------- components: Library (Lib) messages: 96225 nosy: jjwiseman severity: normal status: open title: pipes.quote does not handle zero-length args correctly type: behavior versions: Python 2.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com