[Python-Dev] Testing Socket Timeouts patch 1519025 (original) (raw)
Tony Nelson tonynelson at georgeanelson.com
Mon Jul 31 07:14:36 CEST 2006
- Previous message: [Python-Dev] Testing Socket Timeouts patch 1519025
- Next message: [Python-Dev] test_uuid
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 12:58 AM -0400 7/31/06, Tony Nelson wrote:
At 12:39 AM -0400 7/31/06, Tony Nelson wrote:
popen('"E:\Documents and Settings\Tony Nelson\My Documents\Python\pydev\trunk\PCBuild\python.exe" -c "import sys;sys.versioninfo"') Ehh, I must admit that I retyped that. Obviously what I typed would not work, but what I used was: python = '"' + sys.executable + '"' popen(python + ' -c "import sys;sys.versioninfo"' So there wasn't a problem with backslashes. I've also been using raw strings. And, as I said, the file objects looked OK, with backslashes where they should be. Sorry for the mistyping.
OK, I recognize the bug now. It's that quote parsing bug in MSWindows (which I can find again if you want) which can be worked around by using an extra quote at the front (and maybe also the back):
popen('""E:\Documents ...
Not really a bug in Python at all.
TonyN.:' <mailto:tonynelson at georgeanelson.com> ' <http://www.georgeanelson.com/>
- Previous message: [Python-Dev] Testing Socket Timeouts patch 1519025
- Next message: [Python-Dev] test_uuid
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]