Message757

Author ellisj
Recipients
Date 2004-02-29.14:14:40
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=657828

I submitted a patch that has zipfile correctly error when
mode=a for a file that does not exist, but I cannot
reproduce the main thrust of this report:
<p>
>>> f = zipfile.ZipFile("bar.zip", mode="w")
>>> f.write(".emacs")
>>> f.write(".profile")
>>> f.close()
>>> f = zipfile.ZipFile("bar.zip", mode="r")
>>> f.printdir()
File Name                                            
Modified             Size
.emacs                                         2003-12-26
16:12:42         4910
.profile                                       2003-11-12
12:14:18           41
>>> f.close()
>>> f = zipfile.ZipFile("bar.zip", mode="a")
>>> f.write(".psql_history")
>>> f.close()
>>> f = zipfile.ZipFile("bar.zip", mode="r")
>>> f.printdir()
File Name                                            
Modified             Size
.emacs                                         2003-12-26
16:12:42         4910
.profile                                       2003-11-12
12:14:18           41
.psql_history                                  2004-01-27
09:02:02         5721
>>>
</p>
History
Date User Action Args
2008-02-20 17:17:10adminlinkissue621502 messages
2008-02-20 17:17:10admincreate