Staging
v0.8.1
v0.8.1
https://github.com/python/cpython
Revision ceb3087e1c6456ab3c6db533bb7bc1b5c4ca97a9 authored by Phillip J. Eby on 18 April 2006, 00:59:55 UTC, committed by Phillip J. Eby on 18 April 2006, 00:59:55 UTC
to share common PEP 302 support code, as described here: http://mail.python.org/pipermail/python-dev/2006-April/063724.html pydoc now supports PEP 302 importers, by way of utility functions in pkgutil, such as 'walk_packages()'. It will properly document modules that are in zip files, and is backward compatible to Python 2.3 (setuptools installs for Python <2.5 will bundle it so pydoc doesn't break when used with eggs.) What has not changed is that pydoc command line options do not support zip paths or other importer paths, and the webserver index does not support sys.meta_path. Those are probably okay as limitations. Tasks remaining: write docs and Misc/NEWS for pkgutil/pydoc changes, and update setuptools to use pkgutil wherever possible, then add it to the stdlib.
1 parent b507972
Tip revision: ceb3087e1c6456ab3c6db533bb7bc1b5c4ca97a9 authored by Phillip J. Eby on 18 April 2006, 00:59:55 UTC
Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools
Second phase of refactoring for runpy, pkgutil, pydoc, and setuptools
Tip revision: ceb3087
File | Mode | Size |
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
PC | ||
PCbuild | ||
Parser | ||
Python | ||
RISCOS | ||
Tools | ||
.hgtags | -rw-r--r-- | 3.0 KB |
LICENSE | -rw-r--r-- | 13.2 KB |
Makefile.pre.in | -rw-r--r-- | 33.3 KB |
README | -rw-r--r-- | 52.8 KB |
configure | -rwxr-xr-x | 610.7 KB |
configure.in | -rw-r--r-- | 88.6 KB |
install-sh | -rwxr-xr-x | 7.0 KB |
pyconfig.h.in | -rw-r--r-- | 25.0 KB |
setup.py | -rw-r--r-- | 63.7 KB |
Computing file changes ...