156 Commits (9c56409d3353b8cd4cfc19e0467bbe23fd34fc92)

Author SHA1 Message Date
Antoine Pitrou 310f95b04d A better repr() for FileFinder 14 years ago
Brett Cannon ea0b823940 Issue #14938: importlib.abc.SourceLoader.is_package() now takes the 14 years ago
Nick Coghlan 5c6eba3a93 Tweak importlib._bootstrap to avoid zero-argument super so I can work on issue #14857 without breaking imports 14 years ago
Brett Cannon d785cb3955 Remove some redundant decorators. 14 years ago
Eric V. Smith 984b11f88f issue 14660: Implement PEP 420, namespace packages. 14 years ago
Antoine Pitrou ea3eb88bca Issue #9260: A finer-grained import lock. 14 years ago
Brett Cannon c049952de7 Issue #13959: Have 14 years ago
Brett Cannon cb66eb0dec Issue #13959: Deprecate imp.get_suffixes() for new attributes on 14 years ago
Antoine Pitrou 6efa50a384 Issue #14583: Fix importlib bug when a package's __init__.py would first import one of its modules then raise an error. 14 years ago
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 8ff6baf25b Issue #14581: Windows users are allowed to import modules w/o taking 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 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 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 15 years ago
Brett Cannon 625cd23da4 Simplify importib._resolve_name(). 15 years ago
Brett Cannon 4b03b68635 Turn _return_module() into _handle_fromlist(). 15 years ago
Brett Cannon f500778f65 Improper type for __package__ should raise TypeError, not ValueError. 15 years ago
Brett Cannon 068915cc8b Do a type check instead of an interface check. 15 years ago