167 Commits (575596e19a8f0be382f08a2dc9190100ff811b97)

Author SHA1 Message Date
Eric Snow b282b3d804 Issue #18864: Add a setter for ModuleSpec.has_location. 12 years ago
Brett Cannon d2476c6e4b Issue #19698: Remove exec_module() from the built-in and extension 12 years ago
Brett Cannon 224b261258 User the repr for a module name in more places 12 years ago
Brett Cannon 175e7257b1 Remove a commented-out line 12 years ago
Brett Cannon fddc311fe8 Don't assume trying to find a builtin will succeed (e.g. posix isn't on Windows) 12 years ago
Eric Snow b523f8433a Implement PEP 451 (ModuleSpec). 12 years ago
Brett Cannon 2b8fc303ad Abstract out stat calls in importlib for easier experimentation. 12 years ago
Brett Cannon f6901c8baa Issue #19410: Put back in special-casing of '' for 12 years ago
Eric Snow cdf601281f Issue #19413: Restore pre-3.3 reload() semantics of re-finding modules. 12 years ago
Benjamin Peterson 6b4f7803f8 cleanup the construction of __qualname__ (closes #19301 again) 12 years ago
Benjamin Peterson 3d9e481ece give explicitly global functions and classes a global __qualname__ (closes #19301) 12 years ago
Brett Cannon 58f5680462 Issue #18810: Be optimistic with stat calls when seeing if a directory 12 years ago
Brett Cannon bb9e481efa Issue #18416: Fix various os calls in importlib.machinery.FileFinder 12 years ago
Brett Cannon 27e27f7ee1 Issue #18416: Have importlib.machinery.PathFinder treat '' as the cwd 12 years ago
Antoine Pitrou 1164dfcb86 Issue #19219: Speed up marshal.loads(), and make pyc files slightly (5% to 10%) smaller. 12 years ago
Eric Snow 5c4b4c530f [issue19152] Revert 832579dbafd6. 12 years ago
Eric Snow af8566c847 [issue19152] Add ExtensionFileLoader.get_filename(). 12 years ago
Eric Snow 5179445520 [issue19152] Add ExtensionFileLoader.get_filename(). 12 years ago
Eric Snow efbc475278 [issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples. 12 years ago
Eric Snow e8bbfebee0 [issue19951] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples. 12 years ago
Meador Inge c9e1dcdd53 Issue #16826: Revert fix while Windows issues are being worked out. 12 years ago
Meador Inge d151da9ef7 Issue #16826: Don't check for PYTHONCASEOK when using -E. 12 years ago
Brett Cannon f0cb69274c Issue #18415: Normalize what type of quotes are used with string 13 years ago
Brett Cannon a53cca3fea Issue #18351: Fix various issues with 13 years ago
Brett Cannon 0075110ab2 Issue #18364: Stop using the ImportError._not_found hack. 13 years ago
Brett Cannon 679ecb565b Issue #15767: back out 8a0ed9f63c6e, finishing the removal of 13 years ago
Brett Cannon 82da8886cc Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError 13 years ago
Brett Cannon 1d75382e81 Fix a misnaming of a method and an argument 13 years ago
Brett Cannon f24fecd4ac Issue #18076: Introduce imoportlib.util.decode_source(). 13 years ago
Brett Cannon f4375ef4d4 importlib.abc.SourceLoader.get_source() was re-raising SyntaxError and 13 years ago
Brett Cannon 01b0475b08 Issue #18115: Abstract out managing the cleanup of modules to use in 13 years ago
Brett Cannon 13d8ff9c5b Issues #18058, 18057: Make importlib._bootstrap.NamespaceLoader 13 years ago
Brett Cannon a3c96154d2 Issue #17907: touch up the code for imp.new_module(). 13 years ago
Brett Cannon 05a647deed Issue #18192: Introduce importlib.util.MAGIC_NUMBER and document the 13 years ago
Brett Cannon 8f5ac5106e Issue #15767: Touch up ModuleNotFoundError usage by import. 13 years ago
Brett Cannon b1611e2772 Issue #15767: Introduce ModuleNotFoundError, a subclass of 13 years ago
Brett Cannon 4e694d6fa9 tweak exception message (again) 13 years ago
Brett Cannon af38f5a503 Tweak at the suggestion of Ezio Melotti for exception messages when 13 years ago
Brett Cannon 0dbb4c7f13 Issues #18088, 18089: Introduce 13 years ago
Brett Cannon 357c9fb055 Rename importlib.util.ModuleManager to module_to_load so that the name 13 years ago
Brett Cannon 3dc48d6f69 Issue #18070: importlib.util.module_for_loader() now sets __loader__ 13 years ago
Brett Cannon f5fe13099e Update importlib.h 13 years ago
Brett Cannon a3687f0d68 Introduce importlib.util.ModuleManager which is a context manager to 13 years ago
Benjamin Peterson e8e14591eb rather than passing locals to the class body, just execute the class body in the proper environment 13 years ago
Benjamin Peterson 312595ce3a hide the __class__ closure from the class body (#12370) 13 years ago
Brett Cannon 4c14b5de1c #17115,17116: Have modules initialize the __package__ and __loader__ 13 years ago
Benjamin Peterson 3b0431dc60 check local class namespace before reaching for cells (closes #17853) 13 years ago
Brett Cannon edfd6ae79c Issue #17244: Don't mask exceptions raised during the creation of 13 years ago
Brett Cannon 100883f0cb Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return 13 years ago
Brett Cannon f8ffec0617 Issue #17357: Add missing verbosity messages when running under 13 years ago