[Patches] [ python-Patches-1048075 ] fileinput.py fixed clobbering behavior and added encodings

SourceForge.net noreply at sourceforge.net
Sat Oct 16 00:14:09 CEST 2004


Patches item #1048075, was opened at 2004-10-15 18:14
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=1048075&group_id=5470

Category: Library (Lib)
Group: Python 2.4
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Connett (cconnett)
Assigned to: Nobody/Anonymous (nobody)
Summary: fileinput.py fixed clobbering behavior and added encodings

Initial Comment:
Fixed behavior of inplace modification without a
specified backup extension.  No longer clobbers
innocent files.

Added file encoding support.  Note that universal
newlines functionality depends entirely on the
implementation of readlines() in the StreamReader class
for the specified codec.

Updated docs and testcases, too.

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

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


More information about the Patches mailing list