This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ncoghlan
Recipients brett.cannon, christopherthemagnificent, eric.araujo, georg.brandl, ncoghlan
Date 2012-07-14.14:54:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342277674.32.0.764119493486.issue15343@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed, pydoc relies on pkgutil.walk_packages to work out what to document, and that's broken currently due to the reliance on a non-standard importer API that isn't in PEP 302 (not even as an optional extension, like the get_filename() used by runpy)

I'm not seeing any way out other than to add an API to the importlib importers that pkgutil can use. My preference is to call that method "_iter_modules" right now, and then we can look at making it (or something like it) public for 3.4.
History
Date User Action Args
2012-07-14 14:54:34ncoghlansetrecipients: + ncoghlan, brett.cannon, georg.brandl, eric.araujo, christopherthemagnificent
2012-07-14 14:54:34ncoghlansetmessageid: <1342277674.32.0.764119493486.issue15343@psf.upfronthosting.co.za>
2012-07-14 14:54:33ncoghlanlinkissue15343 messages
2012-07-14 14:54:33ncoghlancreate