Message98735
From David's patch:
Note in particular that options and their arguments go in separate list
elements, while arguments that need quoting when used in the shell
(such as filenames containing spaces or the python command shown
above) are single list elements.
It's not always true that options and their arguments should be in separate elements. For example:
['/bin/ls', '-l', '--block-size=1024']
I understand the sentiment, but if we're trying to give guidance that people can follow without understanding the underlying issue, then they should be correct all the time.
Also, the code snippet includes subprocess without using it. |
|
Date |
User |
Action |
Args |
2010-02-02 13:56:06 | eric.smith | set | recipients:
+ eric.smith, georg.brandl, terry.reedy, ncoghlan, pitrou, benjamin.peterson, r.david.murray, brian.curtin, cvrebert |
2010-02-02 13:56:06 | eric.smith | set | messageid: <1265118966.56.0.45726451087.issue6760@psf.upfronthosting.co.za> |
2010-02-02 13:56:05 | eric.smith | link | issue6760 messages |
2010-02-02 13:56:05 | eric.smith | create | |
|