280 Commits (fe8440aec00af5bc2e995aaad205efa2e693a364)

Author SHA1 Message Date
Brett Cannon feccc09952 Clean up a docstring. 14 years ago
Brett Cannon f19c191067 Jython-friendly tweak. 14 years ago
Brett Cannon 2657df4744 Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 14 years ago
Brett Cannon 17098a5447 Properly mark names in importlib._bootstrap as private. 14 years ago
Brett Cannon efad00d520 Issue #14646: __import__() now sets __loader__ if need be. 14 years ago
Brett Cannon aa93642a35 Issue #14605: Use None in sys.path_importer_cache to represent no 14 years ago
Brett Cannon ce418b448f Issue #14605: Stop having implicit entries for sys.meta_path. 14 years ago
Brett Cannon e0d88a173c Issue #14605: Make explicit the entries on sys.path_hooks that used to 14 years ago
Marc-Andre Lemburg 7541c8ea37 Issue #14605 and #14642: 14 years ago
Marc-Andre Lemburg 4fe29c9657 Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader. 14 years ago
Marc-Andre Lemburg ac8805a01a Issue #14605: Revert renaming of _SourcelessFileLoader, since it caused 14 years ago
Marc-Andre Lemburg 2945e78b05 Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader 14 years ago
Brett Cannon 938d44d59c Issue #14605: Expose importlib.abc.FileLoader and 14 years ago
Brett Cannon 5c903e6ee1 Issue #13959: Continue to try to accomodate altsep in importlib by not 14 years ago
Brett Cannon cf649958f7 Revert to os.path.join() semantics for path manipulation in importlib 14 years ago
Brett Cannon a846236855 Continue the good fight to get Windows to like importlib by fixing a 14 years ago
Brett Cannon 0d05a7698b Have importlib look for pre-existing path separators when joining 14 years ago
Brett Cannon 2f92389d5c Don't worry about moving imp.get_tag() over to Lib/imp.py. 14 years ago
Brett Cannon a64faf0771 Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py. 14 years ago
Brett Cannon ea59dbff16 Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py. 14 years ago
Brett Cannon ed672d6872 Make path manipulation more robust for platforms with alternative path 14 years ago
Brett Cannon 24117a748b Issue #13959: Keep imp.get_magic() in C code, but cache in importlib 14 years ago
Brett Cannon 1032af95ff Issue #14585: test_import now runs all tests under 14 years ago
Brett Cannon 8ff6baf25b Issue #14581: Windows users are allowed to import modules w/o taking 14 years ago
Brett Cannon 91900eaf96 Have importlib.test.regrtest clear sys.path_importer_cache to make 14 years ago
Benjamin Peterson 2a481e58ff don't bother keeping a set we'll never use 14 years ago
Benjamin Peterson d76bc7abac rollback 005fd1fe31ab (see #14609 and #14582) 14 years ago
Brett Cannon 7bd329d800 Issue #12599: Be more strict in accepting None vs. a false-like object 14 years ago
Brett Cannon 273323cf68 Issue #14592: A relative import will raise a KeyError if __package__ 14 years ago
Brett Cannon 6f44d66bc4 Issue #13959: Rename imp to _imp and add Lib/imp.py and begin 14 years ago
Brett Cannon 881535b726 Issue #14582: Import returns the module returned by a loader instead 14 years ago
Philip Jenvey f8f3190d32 utilize startswith(tuple) 14 years ago
Brett Cannon 49f8d8b016 Handle importing pkg.mod by executing 14 years ago
Brett Cannon 44590e4786 Add some comments. 14 years ago
Brett Cannon fd0741555b Issue #2377: Make importlib the implementation of __import__(). 14 years ago
Brett Cannon bbb6680ee5 Have importlib take advantage of ImportError's new 'name' and 'path' 14 years ago
Brett Cannon d62cd5627f Issue #14500: Fix importlib.test.import_.test_packages to clean up 14 years ago
Brett Cannon 927d87470a If a module injects something into sys.modules as a side-effect of 14 years ago
Brett Cannon 0d4d410b2d Remove a dead docstring. 14 years ago
Brett Cannon b46a1793a7 Update importlib.invalidate_caches() to be more general. 14 years ago
Philip Jenvey 4b42ff609d unused imports, pep8 14 years ago
Brett Cannon 625cd23da4 Simplify importib._resolve_name(). 14 years ago
Brett Cannon 4b03b68635 Turn _return_module() into _handle_fromlist(). 14 years ago
Brett Cannon dfc32706a0 Make the benchmark recording more sensible for importlib.test.benchmark. 14 years ago
Brett Cannon f500778f65 Improper type for __package__ should raise TypeError, not ValueError. 14 years ago
Brett Cannon 068915cc8b Do a type check instead of an interface check. 14 years ago
Brett Cannon 34d8e41a47 Refactor importlib to make it easier to re-implement in C. 14 years ago
Charles-François Natali 6db1c40b37 Issue #14077: importlib: Fix regression introduced by de6703671386. 14 years ago
Antoine Pitrou b5c793a0b3 Issue #14063: fix test_importlib failure under OS X case-insensitive filesystems 14 years ago
Benjamin Peterson 6ddac006be put docstrings on functions 14 years ago