[Python-Dev] PEP 277 (unicode filenames): please review

Guido van Rossum guido@python.org
Mon, 12 Aug 2002 09:38:02 -0400


> http://www.python.org/peps/pep-0277.html
> 
> The PEP describes a Windows-only change to Unicode in file names: On
> Windows NT/2k/XP, Python would allow arbitrary Unicode strings as file
> names and pass them to the OS, instead of converting them to CP_ACP
> first. This applies to open() and all os functions that accept
> filenames.
> 
> In addition, os.list() would return Unicode filenames if the argument
> is Unicode.
> 
> Please comment on the PEP. There is an updated patch on
> http://python.org/sf/594001; please comment on the patch as well.

I've added some comments to the patch.

I'm +0 on the PEP; I'd like to defer to people who actually use
Windows like Mark Hammond and Tim Peters.

--Guido van Rossum (home page: http://www.python.org/~guido/)