Message165453
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. |
|
Date |
User |
Action |
Args |
2012-07-14 14:54:34 | ncoghlan | set | recipients:
+ ncoghlan, brett.cannon, georg.brandl, eric.araujo, christopherthemagnificent |
2012-07-14 14:54:34 | ncoghlan | set | messageid: <1342277674.32.0.764119493486.issue15343@psf.upfronthosting.co.za> |
2012-07-14 14:54:33 | ncoghlan | link | issue15343 messages |
2012-07-14 14:54:33 | ncoghlan | create | |
|