]> granicus.if.org Git - python/commit
Phase two of package import. "import a.b.c" and all variants now do the
authorGuido van Rossum <guido@python.org>
Sat, 6 Sep 1997 18:52:03 +0000 (18:52 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 6 Sep 1997 18:52:03 +0000 (18:52 +0000)
commit17fc85f2f581cd5fcbd139aeb1b5078e0e509cc1
tree0170e2f98948364b9895ae78f29ba5281f728a80
parent114c1eabbb658fde77a3d133ef92d0ddfb4d8399
Phase two of package import.  "import a.b.c" and all variants now do the
right thing.

Still to do:

- Make reload() of a submodule work.

- Performance tweaks -- currently, a submodule that tries to import a
global module *always* searches the package directory first, even if
the global module was already imported.  Not sure how to solve this
one; probably need to record misses per package.

- Documentation!
Python/import.c