[issue4241] zipfile.py -> is_zipfile leaves file open when error

2008-12-27 Thread Antoine Pitrou
Antoine Pitrou added the comment: Fixed by Gabriel's patch (just committed in trunk and py3k). -- nosy: +pitrou resolution: -> fixed status: open -> closed ___ Python tracker __

[issue4241] zipfile.py -> is_zipfile leaves file open when error

2008-12-26 Thread Gabriel Genellina
Gabriel Genellina added the comment: The patch for issue4756 fixes this too. -- nosy: +gagenellina ___ Python tracker ___ ___ Python-b

[issue4241] zipfile.py -> is_zipfile leaves file open when error

2008-10-30 Thread Eino Mäkitalo
New submission from Eino Mäkitalo <[EMAIL PROTECTED]>: Very simple error. If is_zipfile crashes when checking is_zipfile if zipfile is corrupted or not at all zip. It leaves file open and prevents later to remove file etc... Maybe it's corrected in next versions Old code: zipfile... line 86: