[Python-Dev] Adding the 'path' module (was Re: Some RFEfor review) (original) (raw)

Michael Chermside mcherm at mcherm.com
Tue Jul 12 16:10:49 CEST 2005


M A Lemburg writes:

we should use strings and Unicode like they are supposed to be used (in the context of text data):

* strings are fine for text data that is encoded using the default encoding * Unicode should be used for all text data that is not or cannot be encoded in the default encoding Later on in Py3k, all text data should be stored in Unicode and all binary data in some new binary type.

Wow. That is the most succinct and clear explanation of how to use unicode in Python that I think I've ever heard. It might even be simple enough for me to understand it! I think I'm going to go frame this and have it posted in my cubical.

-- Michael Chermside



More information about the Python-Dev mailing list