]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
First phase of refactoring for runpy, pkgutil, pydoc, and setuptools
authorPhillip J. Eby <pje@telecommunity.com>
Mon, 17 Apr 2006 20:17:25 +0000 (20:17 +0000)
committerPhillip J. Eby <pje@telecommunity.com>
Mon, 17 Apr 2006 20:17:25 +0000 (20:17 +0000)
commitab1d245871466b308ef9d015702a77b8262759c4
tree5c7e3514b1731381db6790964fcd820c8e37120d
parent4be4e657e05036d6e617b4ad636b4b2543aac355
First phase of refactoring for runpy, pkgutil, pydoc, and setuptools
to share common PEP 302 support code, as described here:

http://mail.python.org/pipermail/python-dev/2006-April/063724.html

This revision strips all the PEP 302 emulation code from runpy,
replacing it with published API classes and functions in pkgutil,
mostly using setuptools' implementation of common functionality,
but adding features from runpy, and doing some refactoring to make
the layer pydoc needs easier to implement on top of this.

One step down, four to go, although step #4 (adding C versions of
the new APIs to 'imp') may not be able to make it in time for
alpha 2.  We'll see how that goes.
Lib/pkgutil.py
Lib/runpy.py