
noreply at sourceforge
May 8, 2001, 8:27 PM
Post #2 of 2
(18 views)
Permalink
|
|
[ python-Bugs-420230 ] fileinput deletes backups without warnin
[In reply to]
|
|
Bugs item #420230, was updated on 2001-04-30 12:04 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420230&group_id=5470 Category: Documentation Group: None >Status: Closed >Resolution: Fixed Priority: 5 Submitted By: Bernhard Reiter (ber) Assigned to: Fred L. Drake, Jr. (fdrake) Summary: fileinput deletes backups without warnin Initial Comment: When using the fileinput module with inplace=1 and a specific backup extension the file stays around as documented, but if it existed before it gets overwritten without warning. This should be documented. "Backup files are overriden silently." Other possible fixes could include adding an overwrite=0 argument so that an exceptions is thrown when overwrite=0. ---------------------------------------------------------------------- >Comment By: Fred L. Drake, Jr. (fdrake) Date: 2001-05-08 20:27 Message: Logged In: YES user_id=3066 Documentation corrected in Doc/lib/libfileinput.tex revisions 1.6 (development trunk) and 1.5.8.1 (2.1 maintenance branch). Specific annotation added: "(if a file of the same name as the backup file already exists, it will be replaced silently)" ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105470&aid=420230&group_id=5470
|