[New-bugs-announce] [issue25911] Regression: os.walk now using os.scandir() breaks bytes filenames on windows

Bastien Montagne report at bugs.python.org
Sat Dec 19 10:39:38 EST 2015


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 <report at bugs.python.org>
<http://bugs.python.org/issue25911>
_______________________________________


More information about the New-bugs-announce mailing list