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 lemburg
Recipients jfdp, lemburg, ocean-city
Date 2008-09-02.10:31:02
SpamBayes Score 5.466885e-06
Marked as misclassified No
Message-id <1220351463.22.0.473449554393.issue3719@psf.upfronthosting.co.za>
In-reply-to
Content
Using subprocess is only possible conditionally, ie. if available.
Please note that the module is intended to be usable with multiple
Python versions and must at least support Python 2.1.

We could consider an updated patch for 2.7 and 3.1, but not for 2.6/3.0,
since it needs more testing.

I think for 2.6/3.0, adding the extra quotes is enough to get things
working.

Please open a new patch ticket for your patch and update it to work with
popen if subprocess is not available. The patch should also not remove
the lines:

-    if sys.platform in ('dos','win32','win16','os2'):
-        # XXX Others too ?
-        return default

from _syscmd_file().

I'll checkin the extra quotes.
History
Date User Action Args
2008-09-02 10:31:03lemburgsetrecipients: + lemburg, ocean-city, jfdp
2008-09-02 10:31:03lemburgsetmessageid: <1220351463.22.0.473449554393.issue3719@psf.upfronthosting.co.za>
2008-09-02 10:31:02lemburglinkissue3719 messages
2008-09-02 10:31:02lemburgcreate