[Python-3000] Unicode and OS strings

Terry Reedy tjreedy at udel.edu
Sat Sep 22 00:17:13 CEST 2007


"Michael Urman" <murman at gmail.com> wrote in message 
news:dcbbbb410709210822p354ef608o6cd01994a67710f1 at mail.gmail.com...

| If there's not something straightforward to put in the ... below that
| would allow simple iteration and processing of all files passed on the
| command line, preferably interchangeably on both unix (where filenames
| cannot necessarily be converted to Unicode) and Windows NT and up
| (where filenames cannot necessarily be represented by bytestrings, and
| arguments don't necessarily come in as bytes), then I will be one of
| many disappointed people.

Perhaps we need one or more library functions (generators) to hide the OS 
differences and corner-case details.






More information about the Python-3000 mailing list