[Python-Dev] Rename str/unicode to text (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Fri Feb 17 12:23:44 CET 2006
- Previous message: [Python-Dev] Rename str/unicode to text
- Next message: [Python-Dev] Rename str/unicode to text
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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)
- Previous message: [Python-Dev] Rename str/unicode to text
- Next message: [Python-Dev] Rename str/unicode to text
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]