Issue1802863

classification
Title: zipfile.is_zipfile never returns False
Type: Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: kagy, mehendran, pjenvey
Priority: normal Keywords:

Created on 2007-09-26.15:15:41 by kagy, last changed 2008-06-08.22:32:39 by pjenvey.

Messages
msg1944 (view) Author: Kevin Glynn (kagy) Date: 2007-09-26.15:15:41
zipfile.is_zipfile never returns False, compared to the cpython library it seems to be missing a return False from the end.
msg1945 (view) Author: Mehendran (mehendran) Date: 2007-10-25.06:35:04
I tried to reproduce this bug in my setup. but I couldn't. 
It looks like working fine. 
I execute the following statements.

Jython 2.3a0 on java1.6.0_01
Type "copyright", "credits" or "license" for more information.
>>> import zipfile
>>> import zipfile as z
>>> z.is_zipfile("/home/tmehendran/1.zip")
True
>>> z.is_zipfile("/home/tmehendran/one.diff")
False
>>>
msg3256 (view) Author: Philip Jenvey (pjenvey) Date: 2008-06-08.22:32:38
maybe our custom zipfile.py had this problem, but it was removed in r2069. 
as mehendran points out this is definitely fixed now
History
Date User Action Args
2008-06-08 22:32:39pjenveysetstatus: open -> closed
resolution: fixed
messages: + msg3256
nosy: + pjenvey
2007-09-26 15:15:41kagycreate