Commit graph

205 commits

Author SHA1 Message Date
Brett Cannon
2c318a1390 Rewrite the code implementing __import__ for importlib. Now it is much simpler
and relies much more on meta path finders to abstract out various parts of
import.

As part of this the semantics for import_module tightened up and now follow
__import__ much more closely (biggest thing is that the 'package' argument must
now already be imported, else a SystemError is raised).
2009-02-07 01:15:27 +00:00
Benjamin Peterson
97d3aa50b7 use the classmethod directive 2009-01-25 19:44:16 +00:00
Brett Cannon
78246b6b45 Document both importlib.machinery.BuiltinImporter and FrozenImporter. 2009-01-25 04:56:30 +00:00
Brett Cannon
33418c8feb Fix markup for arguments in importlib docs. 2009-01-22 18:37:20 +00:00
Brett Cannon
afccd63ac9 Document the (very small) public API for importlib. As time goes on and some
key refactorings occur more of the API will be exposed and documented.
2009-01-20 02:21:27 +00:00