Patches item #1644218, was opened at 2007-01-25 09:38 Message generated for change (Comment added) made by gbrandl You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1644218&group_id=5470
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Library (Lib) Group: None >Status: Closed >Resolution: Postponed Priority: 5 Private: No Submitted By: Daniel Nogradi (nogradi) Assigned to: Nobody/Anonymous (nobody) Summary: file -> open in stdlib Initial Comment: AFAIK using file( ) to open a file is deprecated in favor of open( )and while grepping through the stdlib I noticed a couple of occurences of file( ) in the latest revision. This patch changes these calls to open( ); all tests are passed. ---------------------------------------------------------------------- >Comment By: Georg Brandl (gbrandl) Date: 2007-01-27 08:52 Message: Logged In: YES user_id=849994 Originator: NO Then, given that it's only four occurences, I think we needn't bother with the 2.x line. ---------------------------------------------------------------------- Comment By: Daniel Nogradi (nogradi) Date: 2007-01-26 18:58 Message: Logged In: YES user_id=1438337 Originator: YES I've just checked and in the py3k branch this has already been done. ---------------------------------------------------------------------- Comment By: Daniel Nogradi (nogradi) Date: 2007-01-25 22:23 Message: Logged In: YES user_id=1438337 Originator: YES Sounds good :) ---------------------------------------------------------------------- Comment By: Georg Brandl (gbrandl) Date: 2007-01-25 18:14 Message: Logged In: YES user_id=849994 Originator: NO I think we should do this at least in the Py3k branch. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1644218&group_id=5470 _______________________________________________ Patches mailing list Patches@python.org http://mail.python.org/mailman/listinfo/patches