[ python-Bugs-1351707 ] zipimport produces incomplete IOError instances

SourceForge.net noreply at sourceforge.net
Thu Nov 10 01:46:55 CET 2005


Bugs item #1351707, was opened at 2005-11-09 07:43
Message generated for change (Comment added) made by krumms
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1351707&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: Extension Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Fred L. Drake, Jr. (fdrake)
Assigned to: Nobody/Anonymous (nobody)
Summary: zipimport produces incomplete IOError instances

Initial Comment:
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.

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

Comment By: Thomas Lee (krumms)
Date: 2005-11-10 10:46

Message:
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


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1351707&group_id=5470


More information about the Python-bugs-list mailing list