Issue 1048075: fileinput.py fixed clobbering behavior and added encodings (original) (raw)

Issue1048075

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:07 admin set github: 41026
2004-10-15 22:14:09 cconnett create