[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-06-11 Thread Łukasz Langa
Łukasz Langa added the comment: Done. Fix is going to be present for 3.5.2 and 3.6. Thank you, James. -- resolution: -> fixed status: open -> closed versions: +Python 3.5, Python 3.6 -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-06-11 Thread Roundup Robot
Roundup Robot added the comment: New changeset 9649acf7d472 by Łukasz Langa in branch '3.5': Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages https://hg.python.org/cpython/rev/9649acf7d472 New changeset 389b7456a053 by Łukasz Langa in branch 'default': Merge 3.5, issu

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-05-10 Thread Brett Cannon
Changes by Brett Cannon : -- assignee: -> lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-05-10 Thread Nick Coghlan
Nick Coghlan added the comment: +1 for just including the fix in the next round of maintenance releases, although a test case would be desirable. -- ___ Python tracker ___ _

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-05-09 Thread Brett Cannon
Brett Cannon added the comment: I don't deal with pkgutil so I have no problem if you want to go ahead and apply the patch if you think it's reasonable to accept, Łukasz. -- ___ Python tracker

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2016-05-09 Thread Łukasz Langa
Łukasz Langa added the comment: Brett, Facebook is using the proposed patch in prod since last year. It works fine. Maybe we should just include it for the time being? -- nosy: +lukasz.langa ___ Python tracker ___

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-09 Thread Eric Snow
Changes by Eric Snow : -- nosy: +eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-07 Thread Nick Coghlan
Nick Coghlan added the comment: Adding Brett, since the plan is to clear out a lot of the redundant code in pkgutil once importlib is fully bootstrapped as the standard import implementation. (although this will still affect the older versions directly) -- nosy: +brett.cannon __

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-07 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +ncoghlan, pje stage: -> test needed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue14209] pkgutil.iter_zipimport_modules ignores the prefix parameter for packages

2012-03-06 Thread James Pickering
New submission from James Pickering : If you run pkgutil.iter_zipimport_modules with a prefix parameter, and the module in question is a package, then the prefix parameter is ignored. The most visible symptom of this is when running pkgutil.walk_packages for a zipfile. Imagine we have a module