153 Commits (1164dfcb86757ebaeb68276e4b8f6ee266c9968d)

Author SHA1 Message Date
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
Benjamin Peterson d0924b3d38 update importlib.h 13 years ago
Benjamin Peterson 440282ba8a copy 2.7 magic numbers for historical interest 13 years ago
Benjamin Peterson 7701e6ef93 make some freezing related stuff const 13 years ago
Brett Cannon 4802becb16 Issue #17117: Have both import itself and importlib.util.set_loader() 13 years ago
Brett Cannon c190389834 Issue #17220: two fixes for changeset 2528e4aea338. 13 years ago
Serhiy Storchaka 39e47f94ec Issue #17220: Little cleanup of _bootstrap.py. 13 years ago
Ezio Melotti 795c10b3b6 Rebuild importlib.h after the changes introduced in 0f65bf6063ca. 13 years ago
Benjamin Peterson 419d9a83d5 evaluate lambda keyword-only defaults after positional defaults (#16967 again) 13 years ago
Benjamin Peterson 1ef876cd28 evaluate positional defaults before keyword-only defaults (closes #16967) 13 years ago
Brett Cannon da9cf0eef8 Issue #17098: Be more stringent of setting __loader__ on early imported 13 years ago
Brett Cannon 0ecd30b4af Issue #17098: Make sure every module has __loader__ defined. 13 years ago
Brett Cannon f3220d6af7 Tweak an exception message 13 years ago
Brett Cannon 14581d5dc4 Port py_compile over to importlib 13 years ago
Brett Cannon 686e880f20 Touch up exception messaging 13 years ago