This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: zipimport produces incomplete IOError instances
Type: Stage:
Components: Extension Modules Versions: Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: fdrake, georg.brandl, krumms
Priority: normal Keywords:

Created on 2005-11-08 21:43 by fdrake, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg26827 - (view) Author: Fred Drake (fdrake) (Python committer) Date: 2005-11-08 21:43
The get_data() method on the zipimport.zipimporter
object produces IOError exceptions that only have an
error message.  It should use
PyErr_SetFromErrnoWithFilename() instead of
PyErr_Format() for IOError exceptions.

This should be fixed for both Python 2.4.3 and 2.5.
msg26828 - (view) Author: Thomas Lee (krumms) (Python committer) Date: 2005-11-10 00:46
Logged In: YES 
user_id=315535

Patch against HEAD here:

http://sourceforge.net/tracker/index.php?func=detail&aid=1352711&group_id=5470&atid=305470
msg26829 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2006-02-19 09:39
Logged In: YES 
user_id=1188172

Fixed in rev. 42487, 42488.
History
Date User Action Args
2022-04-11 14:56:14adminsetgithub: 42571
2005-11-08 21:43:37fdrakecreate