This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: fileinput.py fixed clobbering behavior and added encodings
Type: Stage:
Components: Library (Lib) Versions: Python 2.4
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: cconnett
Priority: normal Keywords: patch

Created on 2004-10-15 22:14 by cconnett, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
cvs.diff cconnett, 2004-10-16 03:52 the patch
Messages (2)
msg47079 - (view) Author: Chris Connett (cconnett) Date: 2004-10-15 22:14
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.
msg47080 - (view) Author: Chris Connett (cconnett) Date: 2005-07-23 02:41
Logged In: YES 
user_id=1140166

I'm withdrawing this: it's out of date, and I mixed in a
feature change with a bug fix (shame on me), and it's an
undiscussed feature as well (double shame).  On top of it
all, I submitted it just as a patch without an associated
bug report (three strikes, I'm out).
History
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 41026
2004-10-15 22:14:09cconnettcreate