4411 Commits (d27b455bbcedd232ad8490acff46f532a365be49)

Author SHA1 Message Date
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
Richard Oudkerk 409f90237c Issue #18180: Fix ref leak in _PyImport_GetDynLoadWindows(). 13 years ago
Brett Cannon 4e694d6fa9 tweak exception message (again) 13 years ago
Victor Stinner 9550ef30e3 Issue #9566: Fix compilater warnings on Windows 64-bit 13 years ago
Victor Stinner 56785eab33 Issue #9566: Fix compiler warning on Windows 64-bit 13 years ago
Brett Cannon af38f5a503 Tweak at the suggestion of Ezio Melotti for exception messages when 13 years ago
Benjamin Peterson e2135c6158 move definition to top of block 13 years ago
Brett Cannon 3e0651b5fa Issue #18065: For frozen packages set __path__ to []. 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
Charles-Francois Natali 74ca886788 Issue #17917: Use PyModule_AddIntMacro() instead of PyModule_AddIntConstant() 13 years ago
Antoine Pitrou fef34e3186 Issue #17937: Try harder to collect cyclic garbage at shutdown. 13 years ago
Richard Oudkerk 25296ce5de Use PY_FORMAT_SIZE_T because Visual Studio does not understand %zd format. 13 years ago
Victor Stinner 84bb1cf994 Fix compilater warnings on Windows 64-bit 13 years ago
Victor Stinner 9ce59bbe43 Fix a compilater warning on Windows 64-bit 13 years ago
Victor Stinner d3dfd0e433 Fix a compilater warning on Windows 64-bit 13 years ago
Victor Stinner 0b1bc56bb6 fix compilation on Windows 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 1e93b06007 complain about "global __class__" in a class body (closes #17983) 13 years ago
Benjamin Peterson 312595ce3a hide the __class__ closure from the class body (#12370) 13 years ago
Benjamin Peterson e1b4cbc422 when arguments are cells clear the locals slot (backport of #17927) 13 years ago
Benjamin Peterson 159ae41da6 when an argument is a cell, set the local copy to NULL (see #17927) 13 years ago
Guido van Rossum 6832c81d5d #17927: Keep frame from referencing cell-ified arguments. 13 years ago
Charles-Francois Natali f28dfdd07b Issue #17912: Use a doubly linked-list for thread states. 13 years ago
Antoine Pitrou 070cb3c9be Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable. 13 years ago
Victor Stinner 22c103b3cc Fix a compiler warning: use unsigned int type instead of enum PyUnicode_Kind to 13 years ago
Victor Stinner 313f10c722 Fix a compiler warning: in and out are unused in _Py_char2wchar() if 13 years ago
Antoine Pitrou 5f454a07a0 Issue #1545463: Global variables caught in reference cycles are now garbage-collected at shutdown. 13 years ago
Antoine Pitrou 8408cea0cd Issue #17094: Clear stale thread states after fork(). 13 years ago
Antoine Pitrou fd417cc54b Fix crash caused by 8c1385205a35 13 years ago
Brett Cannon 13853a67cf #17115: I hate you MS for not supporting C99. 13 years ago
Antoine Pitrou 957a23b088 Issue #17408: Avoid using an obsolete instance of the copyreg module when the interpreter is shutdown and then started again. 13 years ago
Brett Cannon 4c14b5de1c #17115,17116: Have modules initialize the __package__ and __loader__ 13 years ago
Alexandre Vassalotti 865eaa1b53 Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgs 13 years ago
Benjamin Peterson 3b0431dc60 check local class namespace before reaching for cells (closes #17853) 13 years ago
Benjamin Peterson fe1b22af0a ignore errors when trying to fetch sys.stdin.encoding (closes #17863) 13 years ago
Benjamin Peterson 7d110042c5 raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ (closes #17867) 13 years ago
Antoine Pitrou 208ac5cf65 Issue #17832: fix a compilation warning about a function prototype. 13 years ago
R David Murray 3583761bcd #17413: make sure settrace funcs get passed exception instances for 'value'. 13 years ago