[Patches] [ python-Patches-1652681 ] tarfile append behavior

SourceForge.net noreply at sourceforge.net
Tue Feb 6 00:33:16 CET 2007


Patches item #1652681, was opened at 2007-02-05 15:15
Message generated for change (Comment added) made by herrwitten
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1652681&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: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Witten (herrwitten)
Assigned to: Lars Gustäbel (gustaebel)
Summary: tarfile append behavior

Initial Comment:
The builtin file object has the following behavior for the appending ('a') mode:

    'The file will be created if it doesn't exist when opened for writing or 
    appending'

Currently, the file must already exist and it must not be an empty file.
This patch achieves the file object's behavior with a small one-line addition.

If this patch be used, please add a reference to 'herrwitten' in the log.

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

>Comment By: Witten (herrwitten)
Date: 2007-02-05 18:33

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

I fixed a bad patch with some personal information and bad path names by
using 'svn diff' instead.
File Added: tarfile.py.diff

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

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


More information about the Patches mailing list