[Python-3000] [Python-Dev] Patch for an initial support of bytes filename in Python3

Bill Janssen janssen at parc.com
Tue Sep 30 17:47:30 CEST 2008


Victor Stinner <victor.stinner at haypocalc.com> wrote:

>  - listdir(unicode) -> only unicode, *skip* invalid filenames 
>    (as asked by Guido)

Is there an option listdir(bytes) which will return *all* filenames (as
byte sequences)?  Otherwise, this seems troubling to me; *something*
should be returned for filenames which can't be represented, even if
it's only None.

Bill


More information about the Python-3000 mailing list