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

Simon Cross hodgestar+pythondev at gmail.com
Tue Sep 30 21:07:54 CEST 2008


On Tue, Sep 30, 2008 at 7:56 PM, Guido van Rossum <guido at python.org> wrote:
> (since os.getcwdb() is a Unix-only thing).

I would be happier if all the Unix byte functions existed on Windows
fell back to something like encoding the filenames to/from UTF-8. Then
at least it would be possible for programs to support reading all
files on both Unix and Windows without having to perform some sort of
explicit check to see whether os.getcwdb() and friends are supported.


More information about the Python-Dev mailing list