PEP 277 (unicode filenames): please review
Martin v. Löwis
loewis at informatik.hu-berlin.de
Mon Aug 12 14:01:06 CEST 2002
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
In addition, os.listdir() 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.
More information about the Python-list