STINNER Victor added the comment:

> path_converter.patch LGTM for 3.6 (and 3.7, 3.8),

Ok, I pushed my simple fix.

Feel free to modify the code if you see a better way to encode paths on Windows 
;-) But it's a much larger project, and I'm not really interested to jump again 
in this silly deprecated APIs :-) It seems like the status quo is that 
Py_UNICODE is going to stay longer than expected and since it "just works", 
nobody really cares :-)

I close this issue since the initial bug (memory leak) is now fixed.

resolution:  -> fixed
status: open -> closed

Python tracker <>
Python-bugs-list mailing list

Reply via email to