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 steve.dower
Recipients Ray Donnelly, eryksun, paul.moore, steve.dower, tim.golden, zach.ware
Date 2018-01-05.01:44:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1515116682.44.0.467229070634.issue32457@psf.upfronthosting.co.za>
In-reply-to
Content
I agree that explicitly normalizing in PC/getpathp.c is the correct approach.

As far as I'm aware, GetModuleFileNameW(NULL) can never fail other than a buffer that is too small, so that whole function can probably be simplified to abort if it happens and just remove the PATH search.

Also, we should use a similar process for PathCchCanonicalizeEx as we already use for PathCchCombineExW in this file to avoid failing on earlier OS versions.
History
Date User Action Args
2018-01-05 01:44:42steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, zach.ware, eryksun, Ray Donnelly
2018-01-05 01:44:42steve.dowersetmessageid: <1515116682.44.0.467229070634.issue32457@psf.upfronthosting.co.za>
2018-01-05 01:44:42steve.dowerlinkissue32457 messages
2018-01-05 01:44:41steve.dowercreate