579 Commits (d27b455bbcedd232ad8490acff46f532a365be49)

Author SHA1 Message Date
Eric Snow b523f8433a Implement PEP 451 (ModuleSpec). 12 years ago
Victor Stinner 5eb4f59cd9 Issue #19437: Fix init_builtin(), handle _PyImport_FindExtensionObject() 12 years ago
Victor Stinner 22af2599a9 Issue #19437: Fix PyImport_ImportModuleLevelObject(), handle 12 years ago
Victor Stinner bd303c165b Issue #19512, #19515: remove shared identifiers, move identifiers where they 12 years ago
Victor Stinner 53e9ec48e5 Issue #19512: Use the new _PyId_builtins identifier 12 years ago
Serhiy Storchaka c679227e31 Issue #1772673: The type of `char*` arguments now changed to `const char*`. 12 years ago
Victor Stinner daf455554b Issue #18571: Implementation of the PEP 446: file descriptors and file handles 13 years ago
Victor Stinner cba2e3c2e9 remove unused declaration 13 years ago
Antoine Pitrou 40322e6ad5 Issue #10241: Clear extension module dict copies at interpreter shutdown. 13 years ago
Antoine Pitrou 79ba3882ad Improve verbose reporting of shutdown phase by using the "public" module name 13 years ago
Antoine Pitrou 95db2e7b8a Backout 62658d9d8926 (issue #10241): it causes a crash at shutdown when deallocating a Tkapp object. 13 years ago
Antoine Pitrou 84f31a5676 Issue #10241: Clear extension module dict copies at interpreter shutdown. 13 years ago
Antoine Pitrou dcedaf6e53 Issue #18214: Improve finalization of Python modules to avoid setting their globals to None, in most cases. 13 years ago
Christian Heimes 09ca794afe Add missing check of PyDict_SetItem()'s return value in _PyImport_FindExtensionObject() 13 years ago
Victor Stinner 1e53bbaced Issue #18408: handle PySys_GetObject() failure, raise a RuntimeError 13 years ago
Brett Cannon 82da8886cc Issue #15767: Revert 3a50025f1900 for ModuleNotFoundError 13 years ago
Christian Heimes 582cfbbf74 import.c does neither need mode_t nor _mkdir() anymore 13 years ago
Brett Cannon 8f5ac5106e Issue #15767: Touch up ModuleNotFoundError usage by import. 13 years ago
Brett Cannon 3e0651b5fa Issue #18065: For frozen packages set __path__ to []. 13 years ago
Antoine Pitrou fef34e3186 Issue #17937: Try harder to collect cyclic garbage at shutdown. 13 years ago
Antoine Pitrou 070cb3c9be Issue #1545463: At shutdown, defer finalization of codec modules so that stderr remains usable. 13 years ago
Antoine Pitrou 5f454a07a0 Issue #1545463: Global variables caught in reference cycles are now garbage-collected at shutdown. 13 years ago
Alexandre Vassalotti 865eaa1b53 Closes #17892: Fix the name of _PyObject_CallMethodObjIdArgs 13 years ago
Benjamin Peterson 7d110042c5 raise an ImportError (rather than fatal) when __import__ is not found in __builtins__ (closes #17867) 13 years ago
Benjamin Peterson 6fba3dbce0 sprinkle const 13 years ago
Mark Dickinson 9fade768c8 Issue #13863: fix incorrect .pyc timestamps on Windows / NTFS (apparently due to buggy fstat) 13 years ago
Antoine Pitrou 202b60640b Add sanity assertions in some import lock code (issue #15599). 13 years ago
Benjamin Peterson 5cb8a31dc4 cleanup and fix refleaks 13 years ago
Andrew Svetlov 6b2cbeba58 Issue #16421: allow to load multiple modules from the same shared object. 13 years ago
Brett Cannon e4710cfced Issue #15894: Document why we don't worry about re-acquiring the 13 years ago
Nick Coghlan 557c76c136 Fix compilation on Windows 13 years ago
Nick Coghlan 34937ce249 Issue #6074: Forward port Windows read-only source file fix from 2.7 13 years ago
Nick Coghlan b48c028ca7 Issue #6074: Restore the long-broken support for running with read-only source files on Windows 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
Antoine Pitrou 6f430e4963 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Antoine Pitrou c5bef75c77 Issue #15604: Update uses of PyObject_IsTrue() to check for and handle errors correctly. 14 years ago
Matthias Klose 92636bf243 - Issue #15647: Make isdir static for windows and posix 14 years ago
Brett Cannon ecfefb7956 Fix a spelling mistake in a comment. 14 years ago
Antoine Pitrou c4d974d3fa Remove unused variable `trim_get_code`. 14 years ago
Nick Coghlan 42c0766a53 Close #15486: Simplify the mechanism used to remove importlib frames from tracebacks when they just introduce irrelevant noise 14 years ago
Nick Coghlan 5ee9892406 Close #15425: Eliminate more importlib related traceback noise 14 years ago
Brett Cannon a6473f9cfd Issues #15169, #14599: Make PyImport_ExecCodeModuleWithPathnames() use 14 years ago
Antoine Pitrou 44b4b6a9a5 Fix compilation under Windows 14 years ago
Benjamin Peterson 66f3659c9e fix refleak 14 years ago
Benjamin Peterson fa873704a4 initialize variable for compiler happiness 14 years ago
Brett Cannon 77b2abd094 Issue #15167 (as part of #13959): imp.get_magic() is no implemented in 14 years ago
Brett Cannon 3adc7b75a5 Issue #15242: Have PyImport_GetMagicTag() return a const char * 14 years ago
Antoine Pitrou bc07a5c913 Issue #15110: Fix the tracebacks generated by "import xxx" to not show the importlib stack frames. 14 years ago
Brett Cannon 98979b85e7 Issue #15166: Re-implement imp.get_tag() using sys.implementation. 14 years ago