[issue9820] Windows : os.listdir(b'.') doesn't raise an errorfor unencodablefilenames
R. David Murray
report at bugs.python.org
Mon Sep 13 14:36:09 CEST 2010
R. David Murray <rdmurray at bitdance.com> added the comment:
But in the case of BZ2File and ssl.SSLContext.load_cert_chain(), isn't it the case that they are trying to open the files? So producing an early error about the decoding problem makes sense. Are there any functions other than listdir where the decoded filenames are not necessarily immediately used to manipulate the files?
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list