[Python-Dev] file() or open()? (original) (raw)
Robert Brewer fumanchu at amor.org
Wed Jul 7 19:49:49 CEST 2004
- Previous message: [Python-Dev] 2.4a1 - Trunk frozen for release
- Next message: [Python-Dev] Windows installer for 2.4?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I think Skip wrote:
Yes, but has others have pointed out, the current documentation seems to suggest that file() is preferred to open().
While you're at it, the docstring for open could use the same treatment. In 2.3.2, it starts with: "file(name[, mode[, buffering]])" and ends with "open() is an alias for file()." The first implies that file() is preferred, in my mind.
Robert Brewer MIS Amor Ministries fumanchu at amor.org
- Previous message: [Python-Dev] 2.4a1 - Trunk frozen for release
- Next message: [Python-Dev] Windows installer for 2.4?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]