[issue18864] Implementation for PEP 451 (importlib.machinery.ModuleSpec)

Eric Snow report at bugs.python.org
Fri Nov 1 23:21:21 CET 2013


Eric Snow added the comment:

Here's a new patch that is mostly up to date with the PEP.  I still need to work on Docs and add more tests.  There are a few failing tests (due to the recent reload patch) that I need to fix when I get a minute.

This patch also implements find_spec() on FileFinder and PathFinder.  Left to do:

* deprecations and removals
* refactor importlib loaders to use the new Finder/Loader APIs
* refactor pythonrun.c to make use of __spec__
* adjust other APIs to use __spec__ (pickle, etc.)

----------
Added file: http://bugs.python.org/file32456/modulespec-primary-changes.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18864>
_______________________________________


More information about the Python-bugs-list mailing list