[Patches] [ python-Patches-1094011 ] Docs for file() vs open()

SourceForge.net noreply at sourceforge.net
Sat Jan 1 08:50:52 CET 2005


Patches item #1094011, was opened at 2005-01-01 08:50
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094011&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Reinhold Birkenfeld (birkenfeld)
Assigned to: Nobody/Anonymous (nobody)
Summary: Docs for file() vs open()

Initial Comment:
This is in reference to the thread on python-dev
starting 2004/07/07, subject "file() or open()?". Guido
stated there that one should use open() to open files:

"""Anyway, here's my future-proof distinction: use
open() as the factory function, and file for
type-testing."""

The docs, however, still convince the reader that
open() is retained for backwards compatibility and near
deprecation. This patch corrects the issue, mostly
using Guido's own new wording.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1094011&group_id=5470


More information about the Patches mailing list