Message256804
I like Serhiy's suggestion to use the old walk implementation on Windows if the argument is bytes, with a DeprecationWarning (like all other bytes operations in os on Windows). There was no warning that bytes paths would stop working with os.walk, so we should fix it and I'm bumping up the priority.
bytes filenames have been deprecated since Python 3.3 (#13374); I don't think scandir (new in 3.5) should support bytes. |
|
Date |
User |
Action |
Args |
2015-12-21 17:20:27 | zach.ware | set | recipients:
+ zach.ware, paul.moore, vstinner, tim.golden, ideasman42, SilentGhost, benhoyt, serhiy.storchaka, eryksun, steve.dower, mont29 |
2015-12-21 17:20:27 | zach.ware | set | messageid: <1450718427.24.0.1340704808.issue25911@psf.upfronthosting.co.za> |
2015-12-21 17:20:27 | zach.ware | link | issue25911 messages |
2015-12-21 17:20:27 | zach.ware | create | |
|