• Guido van Rossum's avatar
    Phase two of package import. "import a.b.c" and all variants now do the · 17fc85f2
    Guido van Rossum authored
    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!
    17fc85f2
import.c 40.7 KB