[issue17633] zipimport's handling of namespace packages is incorrect

Mike Romberg report at bugs.python.org
Sat Jan 9 15:06:27 EST 2016


Mike Romberg added the comment:

This patch modifies issue17633-hg.diff by adding changes suggested by the reviewers.

  Note.  I did cleanup the use of __import__ outside of the area involved with issue17633 as it seemed low risk.  The tests for issue17633 (and the refactored doTest/makeZip now use addCleanup().  However there are still tests in the module that use the old try/finally way of cleanup.  I did not modify these in order to keep this from being a rewrite of test_zipimport.

  But if more changes are desired, I'll add them.

----------
Added file: http://bugs.python.org/file41557/issue17633-hg-2.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17633>
_______________________________________


More information about the Python-bugs-list mailing list