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

Mike Romberg report at bugs.python.org
Mon Jan 4 13:01:17 EST 2016


Mike Romberg added the comment:

I have expanded on the issue17633-2 patch to fix an issue with the enumerated value returned by find_loader().  The patch (issue17633-3.diff) is against 3.5.1.

  I have also added more test cases that cover spreading a namespace package across two zip files and between a zip file and a filesystem.  The expanded tests cover the iterable __path__ member of a namespace package.

  No new failures in 'make test'  (gdb and ssl were broken with in 3.5.1 before this patch).

  The expanded test cases should continue to be relevant even if zipimport is rewritten.

----------
nosy: +romberg
Added file: http://bugs.python.org/file41498/issue17633-3.diff

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


More information about the Python-bugs-list mailing list