Bugs item #1517887, was opened at 2006-07-06 12:03
Message generated for change (Comment added) made by krumms
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517887&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: Python Library
Group: Python 2.5
>Status: Deleted
>Resolution: Invalid
Priority: 5
Submitted By: Thomas Lee (krumms)
Assigned to: Nobody/Anonymous (nobody)
Summary: zipfile appends broken in 2.5b1

Initial Comment:
Discovered this while implementing a patch for 1514451.
It doesn't matter if compression is used or not, the
bug occurs either way. Test case attached. Output as below:

[EMAIL PROTECTED]:~/python_bug$ ls
bug.py  file_a.txt  file_c.txt
[EMAIL PROTECTED]:~/python_bug$ python -V
Python 2.4.3
[EMAIL PROTECTED]:~/python_bug$ python bug.py
file a
file b
file c
file d
[EMAIL PROTECTED]:~/python_bug$ python2.5 -V
Python 2.5b1
[EMAIL PROTECTED]:~/python_bug$ python2.5 bug.py
file a
file b
Traceback (most recent call last):
  File "bug.py", line 16, in <module>
    print f.read('file_c.txt').strip()
  File "/usr/local/python2.5/lib/python2.5/zipfile.py",
line 482, in read
    raise BadZipfile, "Bad magic number for file header"
zipfile.BadZipfile: Bad magic number for file header
[EMAIL PROTECTED]:~/python_bug$


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

>Comment By: Thomas Lee (krumms)
Date: 2006-07-06 12:10

Message:
Logged In: YES 
user_id=315535

*sighs* I had local modifications that I forgot to remove
before testing this bug. Sorry.

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1517887&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to