Message165453
| 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. |
|