228 Commits (4df60f18c64ba2835e68bf3eed08d8002a00f4ac)

Author SHA1 Message Date
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
Brett Cannon 569ff4fbbc Issue #15031: Refactor some code in importlib pertaining to validating 13 years ago
Brett Cannon a9976b3e32 Issue #16730: Don't raise an exception in 13 years ago
Andrew Svetlov f7a17b48d7 Replace IOError with OSError (#16715) 13 years ago
Benjamin Peterson fc8f5c5e0f update importlib.h 13 years ago
Andrew Svetlov ad28c7f9da Issue #16706: get rid of os.error 13 years ago
Eric Snow a6cfb28bd2 Issue #15627: This is simply an update to the name of a new method recently added 13 years ago
Barry Warsaw 82c1c781c7 - Issue #16514: Fix regression causing a traceback when sys.path[0] is None 13 years ago
Brett Cannon 540187f719 Regen importlib.h 13 years ago
Brett Cannon 5650e4f41c Issue #15627: Add the compile_source() method to 13 years ago
Benjamin Peterson 2a0e226131 recompile importlib.h 13 years ago
Nick Coghlan eb8d627bbd Issue #6074: Apply an appropriate fix for importlib based imports 13 years ago
Trent Nelson d783c8ed00 Issue #15833: don't raise an exception if importlib can't write byte-compiled 13 years ago
Brett Cannon 6072e0bf42 Remove uses of % with str.format. 13 years ago
Brett Cannon a6ce4fd426 Closes issue #15111: Calling __import__ with a module specified in 13 years ago
Jesus Cea f01d695ccd Closes #16135: Removal of OS/2 support 13 years ago
Brett Cannon 8ed677db12 Add some comments. 13 years ago
Benjamin Peterson 0beb4d28d0 don't depend on __debug__ because it's baked in at freeze time (issue #16046) 13 years ago
Benjamin Peterson feaa54f537 don't depend on __debug__ because it's baked in at freeze time (issue #16046) 13 years ago
Antoine Pitrou 0398985920 Issue #15781: Fix two small race conditions in import's module locking. 14 years ago
Antoine Pitrou 4f0338cab7 Issue #15781: Fix two small race conditions in import's module locking. 14 years ago
Brett Cannon 12c6bda4f0 Issue #15316: Let exceptions raised during imports triggered by the 14 years ago
Brett Cannon ba0a3edd26 Issue #2051: Tweak last commit for this issue to pass in mode instead 14 years ago
Nick Coghlan a508770e20 Close #2501: Permission bits are once again correctly copied from the source file to the cached bytecode file. Test by Eric Snow. 14 years ago
Nick Coghlan 48fec05391 Close #14846: Handle a sys.path entry going away 14 years ago
Brett Cannon 7385adc84c Issue #15715: Ignore failed imports triggered by the use of fromlist. 14 years ago
Brett Cannon b428f47cf6 Don't overwrite a __path__ value from extension modules if already 14 years ago
Philip Jenvey 688a551ca0 fix docstring wording 14 years ago
Brett Cannon f410ce8c09 Issue #15502: Refactor some code. 14 years ago
Philip Jenvey 731d48a65f update docstring per the extension package fix, refactor 14 years ago
Brett Cannon ac9f2f3de3 Issue #15576: Allow extension modules to be a package's __init__ 14 years ago