Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-09 Thread Terry Reedy
Glenn Linderman wrote: My understanding of the Posix file names is that any byte values are valid except "/" and null. Is this a correct understanding? The UTF-8b proposal seems to translate from a non-UTF-8 byte stream to a Unicode character stream. Call the original byte stream FOO. The

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-09 Thread Stephen J. Turnbull
Terry Reedy writes: > If FOOTR is using PUA chars, then I believe that users should not > be providing such a stream as it would have no defined meaning > coming from them. But that's precisely what "private use" means: the users provide their own definitions! The Unicode standard provides th

Re: [Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?

2008-10-09 Thread Stephen J. Turnbull
Glenn Linderman writes: > Define a conforming process. For present purposes, one that promises not to emit invalid Unicode strings as Unicode. > If it is one that handles Unicode with full validation, all is > wonderful, except on platforms that permit non-validated Unicode names > or non-