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 berker.peksag, eryksun, girtsf, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2018-08-13.16:32:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534177950.22.0.56676864532.issue34384@psf.upfronthosting.co.za>
In-reply-to
Content
Serhiy is exactly right, but to emphasise, the best way to do paths now is to use argument clinic with its path_t type. On Windows, .narrow is a flag that indicates whether you should PyUnicode_FSEncode() any results before returning them, and .wide is always initialized correctly.

Do not use any *A APIs - only *W from now on :)
History
Date User Action Args
2018-08-13 16:32:30steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, berker.peksag, zach.ware, serhiy.storchaka, eryksun, girtsf
2018-08-13 16:32:30steve.dowersetmessageid: <1534177950.22.0.56676864532.issue34384@psf.upfronthosting.co.za>
2018-08-13 16:32:30steve.dowerlinkissue34384 messages
2018-08-13 16:32:30steve.dowercreate