[Python-Dev] PEP 383 update: utf8b is now the error handler

Antoine Pitrou solipsis at pitrou.net
Wed May 6 18:54:37 CEST 2009


Zooko Wilcox-O'Hearn <zooko <at> zooko.com> writes:
> 
> I'm not thinking of API compatibility as much as  
> data compatibility -- someone used Python 3.1 to write down some  
> filenames, and now a few years later they are trying to use the  
> latest and greatest Python release to read those filenames...

Well, if the filenames are generated by Python (as opposed to read from an
existing directory on disk), they should be regular unicode objects without any
lone surrogates, so I don't see the compatibility problem.

Regards

Antoine.




More information about the Python-Dev mailing list