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 eryksun
Recipients SilentGhost, benhoyt, eryksun, ideasman42, mont29, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-12-23.13:14:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1450876487.73.0.12758327368.issue25911@psf.upfronthosting.co.za>
In-reply-to
Content
Considering there's no plan to implement bytes paths for scandir on Windows, then the following line in the os docs needs to be modified: "All functions accepting path or file names accept both bytes and string objects, and result in an object of the same type, if a path or file name is returned." It should be changed to acknowledge that some functions on Windows do not support bytes paths, and that existing support is deprecated and may be removed in a future release.

Also, the docs for listdir should warn that using bytes returns invalid results on Windows when filenames contain characters that aren't mapped in the system locale codepage.
History
Date User Action Args
2015-12-23 13:14:47eryksunsetrecipients: + eryksun, paul.moore, vstinner, tim.golden, ideasman42, SilentGhost, benhoyt, zach.ware, serhiy.storchaka, steve.dower, mont29
2015-12-23 13:14:47eryksunsetmessageid: <1450876487.73.0.12758327368.issue25911@psf.upfronthosting.co.za>
2015-12-23 13:14:47eryksunlinkissue25911 messages
2015-12-23 13:14:47eryksuncreate