[New-bugs-announce] [issue22862] os.walk fails on undecodable filenames

Florian Höch report at bugs.python.org
Thu Nov 13 14:16:20 CET 2014


New submission from Florian Höch:

If 'top' is an unicode directory name, os.listdir can still return non-unicode filenames if they can't be decoded. This case is not handled in the Python 2.x standard library version of os.walk and will cause join(top, name) to fail on such filenames with an UnicodeDecodeError.

----------
components: Library (Lib)
messages: 231110
nosy: fhoech
priority: normal
severity: normal
status: open
title: os.walk fails on undecodable filenames
type: behavior
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22862>
_______________________________________


More information about the New-bugs-announce mailing list