New submission from Bastien Montagne: In py3.4 and below we used to be able to use bytes filenames with os.walk(), it’s now impossible under windows due to the limitation of os.scandir().
This issue was reported to Blender tracker (https://developer.blender.org/T47018). I assume this should be considered as a regression? At least, this should be mentioned in the documentation… Thanks, Bastien ---------- components: Library (Lib), Windows messages: 256731 nosy: mont29, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Regression: os.walk now using os.scandir() breaks bytes filenames on windows versions: Python 3.5 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25911> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com