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

James Y Knight foom at fuhm.net
Fri Oct 3 21:53:27 CEST 2008


On Oct 3, 2008, at 3:24 PM, Glenn Linderman wrote:
> In order to work, the actual name must be preserved, or if  
> translated, must be a reversible, 1-to-1 translation.  A lot of  
> discussion here has talked about reversible translations, but  
> haven't noted the requirement that it be 1-to-1... and if the  
> translation produces something that looks like it could be a file  
> name, then the reverse translation is unlikely to be 1-to-1!   
> Somewhere, you need to add a flag that indicates whether or not a  
> reverse translation needs to be done, independently of the content  
> of the translated name.

That's not true. Both the U+0000 and UTF-8b proposals are 1-to-1  
transforms.

James


More information about the Python-3000 mailing list