Steve Dower added the comment:

I'm good with the patch, except we can't use ctypes in the standard library. 
NeedCurrentDirectoryForExePathW will need to be wrapped in Modules/_winapi.c.

Should be fairly simple to do, though it probably requires learning argument 
clinic (which admittedly I haven't done enough to write the function without 
copying from elsewhere). I may get back to it eventually, but if someone posts 
the implementation separately I'm happy to merge two patches to get this in.


Python tracker <>
Python-bugs-list mailing list

Reply via email to