Author paul.moore
Recipients paul.moore, rmccampbell7, serhiy.storchaka, steve.dower, tim.golden, xtreak, zach.ware
Date 2018-09-26.19:50:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1537991457.18.0.545547206417.issue31405@psf.upfronthosting.co.za>
In-reply-to
Content
I don't think this is expected behaviour. It's not documented what should happen in this case but the behaviour suggested by the OP (to search for the path as given, followed by [path+e for e in os.environ['PATHEXT'].split(os.pathsep)] seems reasonable to me.

The details and corner cases need thrashing out, which I don't have time to do right now, but the principle seems sound.
History
Date User Action Args
2018-09-26 19:50:57paul.mooresetrecipients: + paul.moore, tim.golden, zach.ware, serhiy.storchaka, steve.dower, rmccampbell7, xtreak
2018-09-26 19:50:57paul.mooresetmessageid: <1537991457.18.0.545547206417.issue31405@psf.upfronthosting.co.za>
2018-09-26 19:50:57paul.moorelinkissue31405 messages
2018-09-26 19:50:57paul.moorecreate