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 serhiy.storchaka
Recipients berker.peksag, eryksun, girtsf, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2018-08-13.07:14:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1534144443.49.0.56676864532.issue34384@psf.upfronthosting.co.za>
In-reply-to
Content
Currently the behavior doesn't match the documentation. Initially I thought that this can be solved by adding the support of path-like objects and backporting this up to 3.6. But os.readlink() on Windows doesn't not support also bytes paths, and never supported. This looks to me now more like a new feature. In 3.6 and 3.7 we can resolve this issue by just updating the documentation.

Bytes paths on Windows were deprecated before 3.6. Since implementing PEP 529, their should be supported on Windows if they are supported on other platforms. We shouldn't use an 8-bit API like CreateFileA, but instead decode bytes paths with UTF-8 and use a Unicode API (this should be implemented in path_converter()).
History
Date User Action Args
2018-08-13 07:14:03serhiy.storchakasetrecipients: + serhiy.storchaka, paul.moore, tim.golden, berker.peksag, zach.ware, eryksun, steve.dower, girtsf
2018-08-13 07:14:03serhiy.storchakasetmessageid: <1534144443.49.0.56676864532.issue34384@psf.upfronthosting.co.za>
2018-08-13 07:14:03serhiy.storchakalinkissue34384 messages
2018-08-13 07:14:03serhiy.storchakacreate