[Python-Dev] Rename str/unicode to text

Michael Hudson mwh at python.net
Fri Feb 17 11:57:25 CET 2006


Guido van Rossum <guido at python.org> writes:
> OTOH, even if we didn't rename str/unicode to text, opentext would
> still be a good name for the function that opens a text file.

Hnnrgh, not really. You're not opening a 'text', nor are you
constructing something that might reasonably be called an 'opentext'.
textfile() seems better.
Cheers,
mwh
-- 
 Q: What are 1000 lawyers at the bottom of the ocean?
 A: A good start.
 (A lawyer told me this joke.)
 -- Michael Ströder, comp.lang.python


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /