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 vstinner
Recipients python-dev, serhiy.storchaka, steve.dower, vstinner
Date 2016-09-19.09:59:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474279198.0.0.952769021454.issue28200@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2016-09-19 09:59:58vstinnersetrecipients: + vstinner, python-dev, serhiy.storchaka, steve.dower
2016-09-19 09:59:58vstinnersetmessageid: <1474279198.0.0.952769021454.issue28200@psf.upfronthosting.co.za>
2016-09-19 09:59:57vstinnerlinkissue28200 messages
2016-09-19 09:59:57vstinnercreate