[Patches] [ python-Patches-1644218 ] file -> open in stdlib

SourceForge.net noreply at sourceforge.net
Fri Jan 26 19:58:25 CET 2007


Patches item #1644218, was opened at 2007-01-25 10:38
Message generated for change (Comment added) made by nogradi
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: Open
Resolution: None
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: Daniel Nogradi (nogradi)
Date: 2007-01-26 19: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 23:23

Message:
Logged In: YES 
user_id=1438337
Originator: YES

Sounds good :)

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

Comment By: Georg Brandl (gbrandl)
Date: 2007-01-25 19: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


More information about the Patches mailing list