[Python-Dev] Rename str/unicode to text

Fredrik Lundh fredrik at pythonware.com
Fri Feb 17 12:23:44 CET 2006


Michael Hudson wrote:
> > 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.

except that in Python, file is a type, and open is an action.
but I agree that textfile reads better (haven't we been through this
a couple of times already, btw? iirc, my original textfile proposal was
posted in 1846, or so)
</F>


More information about the Python-Dev mailing list

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