[Patches] [ python-Patches-700858 ] Replacing and deleting files in a zipfile archive.

SourceForge.net noreply at sourceforge.net
Wed Mar 21 03:20:14 CET 2007


Patches item #700858, was opened at 2003-03-10 07:08
Message generated for change (Comment added) made by sf-robot
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=700858&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.2.x
>Status: Closed
Resolution: Out of Date
Priority: 5
Private: No
Submitted By: Nev Delap (nevdelap)
Assigned to: Nobody/Anonymous (nobody)
Summary: Replacing and deleting files in a zipfile archive.

Initial Comment:
Addition of replace, replacestr and delete methods into 
zipfile.py.

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

>Comment By: SourceForge Robot (sf-robot)
Date: 2007-03-20 19:20

Message:
Logged In: YES 
user_id=1312539
Originator: NO

This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).

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

Comment By: Alan McIntyre (alanmcintyre)
Date: 2007-03-06 19:09

Message:
Logged In: YES 
user_id=1115903
Originator: NO

Since it seems I'm poking around in the zipfile module quite a bit lately,
I'll see if I can update this patch, and add some tests and documentation
updates. 

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

Comment By: Georg Brandl (gbrandl)
Date: 2007-03-06 16:45

Message:
Logged In: YES 
user_id=849994
Originator: NO

This patch doesn't apply anymore to current SVN, so it's going to be
closed unless someone updates it.

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

Comment By: David Fraser (davidfraser)
Date: 2004-05-11 07:57

Message:
Logged In: YES 
user_id=221678

Note that there is a problem with using StringIO files as
zipfiles with this as they fail to truncate properly - see
bug 951915

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

Comment By: David Fraser (davidfraser)
Date: 2004-05-11 03:24

Message:
Logged In: YES 
user_id=221678

This patch works fine on Python 2.3, if you just add the line
                del self.NameToInfo[name]
before the return in delete
(and the first HUNK with author info isn't applied)
Unfortunately I can't add a file for some reason...
nevdelap, could you update the bug for Python 2.3?

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

Comment By: Nev Delap (nevdelap)
Date: 2003-03-10 07:19

Message:
Logged In: YES 
user_id=730416

OK, so after refreshing it finally decided to show the files I'd 
added.

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

Comment By: Nev Delap (nevdelap)
Date: 2003-03-10 07:16

Message:
Logged In: YES 
user_id=730416

.

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

Comment By: Nev Delap (nevdelap)
Date: 2003-03-10 07:15

Message:
Logged In: YES 
user_id=730416

The file upload say "Successful" but the file isn't listed!?
I've 
tried it several times and yes I've checked the checkbox.

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

Comment By: Nev Delap (nevdelap)
Date: 2003-03-10 07:14

Message:
Logged In: YES 
user_id=730416

The file upload say "Successful" but the file isn't listed!?
I've 
tried it several times and yes I've checked the checkbox.

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

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


More information about the Patches mailing list