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 eryksun
Recipients brett.cannon, ced, eric.snow, eryksun, ncoghlan, paul.moore, r.david.murray, steve.dower, tim.golden, zach.ware
Date 2017-08-16.15:31:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502897475.08.0.301131832404.issue31210@psf.upfronthosting.co.za>
In-reply-to
Content
> Is this post wrong then?

No, it's not wrong that semicolon is a valid character in Windows NTFS and FAT32 filesystems.

However, the answer by Kevin Edwards that recommends using double quotes needs qualification. It only works in CMD. It doesn't work in PowerShell nor the runtime library functions used by CreateProcess or SearchPath (i.e. RtlDosSearchPath_U[str]) or the loader's LdrpSearchPath function. These all split PATH on semicolon, with no supported escape character or quoting. In fact they retain double quotes in the computed filename when testing for existence, so quoting paths in PATH is wrong in general.
History
Date User Action Args
2017-08-16 15:31:15eryksunsetrecipients: + eryksun, brett.cannon, paul.moore, ncoghlan, tim.golden, ced, r.david.murray, eric.snow, zach.ware, steve.dower
2017-08-16 15:31:15eryksunsetmessageid: <1502897475.08.0.301131832404.issue31210@psf.upfronthosting.co.za>
2017-08-16 15:31:15eryksunlinkissue31210 messages
2017-08-16 15:31:14eryksuncreate