[issue23696] zipimport: chain ImportError to OSError

2015-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 022d64b503b8 by Victor Stinner in branch 'default': Issue #23696: Remove test on ZipImportError.__context__ because the context is https://hg.python.org/cpython/rev/022d64b503b8 -- ___ Python tracker

[issue23696] zipimport: chain ImportError to OSError

2015-03-20 Thread STINNER Victor
Changes by STINNER Victor : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue23696] zipimport: chain ImportError to OSError

2015-03-20 Thread Roundup Robot
Roundup Robot added the comment: New changeset 597a87099713 by Victor Stinner in branch 'default': Issue #23696: Chain ZipImportError to the OSError https://hg.python.org/cpython/rev/597a87099713 -- nosy: +python-dev ___ Python tracker

[issue23696] zipimport: chain ImportError to OSError

2015-03-18 Thread Brett Cannon
Changes by Brett Cannon : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue23696] zipimport: chain ImportError to OSError

2015-03-17 Thread STINNER Victor
New submission from STINNER Victor: To work on the issue #23694, I refactored the C function _Py_fopen_obj() to raise an exception on error. I noticed the that zipimport replaces the current exception with ZipImportError. Attached patch chains the ZipImportError to the OSError to provide more