3772 Commits (ea59dbff16e305aa07ef5896cc59fb36dc5edac3)

Author SHA1 Message Date
Brett Cannon ea59dbff16 Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py. 14 years ago
Brett Cannon ed672d6872 Make path manipulation more robust for platforms with alternative path 14 years ago
Brett Cannon 24117a748b Issue #13959: Keep imp.get_magic() in C code, but cache in importlib 14 years ago
Brett Cannon 3dfc22cc04 Issue #14599: Support ImportError.path on AIX and HPUX when loading 14 years ago
Brett Cannon f0434e647a Issue #14599: Generalize a test for ImportError.path and add support 14 years ago
Brett Cannon 8ff6baf25b Issue #14581: Windows users are allowed to import modules w/o taking 14 years ago
Larry Hastings 6fe20b3aee Issue #14127: Add st_{cma}time_ns fields to os.stat() result object. 14 years ago
Antoine Pitrou bf35c156b4 Fix refleak: PyObject_GetItem returns a new reference, not a borrowed one like PyDict_GetItem. 14 years ago
Martin v. Löwis aa2efcb0bc Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo. 14 years ago
Victor Stinner b0b224233e Issue #14385: Support other types than dict for __builtins__ 14 years ago
Benjamin Peterson 665c3b3eec update importlib... 14 years ago
Antoine Pitrou ec9bac4226 Fix it for good :-) 14 years ago
Benjamin Peterson d76bc7abac rollback 005fd1fe31ab (see #14609 and #14582) 14 years ago
Benjamin Peterson da20cd2b6b fix refcnt/style/debuging oversights 14 years ago
Brian Curtin 94c001b503 Fix email post-commit review comments. 14 years ago
Brett Cannon 7bd329d800 Issue #12599: Be more strict in accepting None vs. a false-like object 14 years ago
Benjamin Peterson 32c59b6fc1 mangle keyword-only argname when loading defaults (closes #14607) 14 years ago
Brett Cannon 64befe939c Issue #13959: Re-implement imp.load_compiled() in imp.py. 14 years ago
Brett Cannon 273323cf68 Issue #14592: A relative import will raise a KeyError if __package__ 14 years ago
Brian Curtin 09b86d1196 Fix #14600. Correct reference handling and naming of ImportError convenience function 14 years ago
Brett Cannon 16475adcbb Issue #13959: Re-implement imp.load_source() in imp.py. 14 years ago
Antoine Pitrou 22a1d17bb5 Fix another refleak 14 years ago
Antoine Pitrou 538ba2afb5 Fix a refleak 14 years ago
Antoine Pitrou 71382cb64b Fix reference loss on Py_None when None is encountered in sys.modules. 14 years ago
Antoine Pitrou a938c74751 Avoid compiler warning due to stray \x00 14 years ago
Brian Curtin b206a80dab Fix #10854. Make use of the new path and name attributes on ImportError 14 years ago
Brett Cannon 2ee61422ed Issue #13959: Re-implement imp.load_package() in imp.py. 14 years ago
Brett Cannon 01a76171a0 Issue #13959: Re-implement imp.load_module() in imp.py. 14 years ago
Brett Cannon c1b3f63653 Try to get hg to treat importlib.h as binary. 14 years ago
Brett Cannon 8a1d04c643 Issue #13959: Simplify imp.reload() by relying on a module's 14 years ago
Brett Cannon 7ceedb8c1e Update importlib.h 14 years ago
Brett Cannon 6f44d66bc4 Issue #13959: Rename imp to _imp and add Lib/imp.py and begin 14 years ago
Brett Cannon 881535b726 Issue #14582: Import returns the module returned by a loader instead 14 years ago
Brett Cannon 27fc52877c Set ImportError.name when raising the exception in the case of None 14 years ago
Brett Cannon fc9ca274b8 Plug a refleak. 14 years ago
Brett Cannon 49f8d8b016 Handle importing pkg.mod by executing 14 years ago
Brett Cannon 59f9c3affc Rebuild importlib.h to incorporate added comments. 14 years ago
Brian Curtin e6b299faf5 Fix Windows build 14 years ago
Brett Cannon 740fce0e38 Undo a C99 idiom. 14 years ago
Brett Cannon fd0741555b Issue #2377: Make importlib the implementation of __import__(). 14 years ago
Benjamin Peterson 3bf01757b6 move outside WITH_THREAD conditional 14 years ago
Benjamin Peterson 43162b8a02 take linkage def outside of WITH_THREAD conditional (closes #14569) 14 years ago
Brett Cannon 79ec55e980 Issue #1559549: Add 'name' and 'path' attributes to ImportError. 14 years ago
Kristján Valur Jónsson 31668b8f7a Issue #14288: Serialization support for builtin iterators. 14 years ago
Benjamin Peterson 80d50428ce fix parse_syntax_error to clean up its resources 14 years ago
Brett Cannon 368b4b7405 Guard an LLTRACE variable to silence an unused variable warning. 14 years ago
Victor Stinner 3c1e48176e Issue #14383: Add _PyDict_GetItemId() and _PyDict_SetItemId() functions 14 years ago
Kristján Valur Jónsson c5d47d5ac3 Fix typo when "PyObject*" was changed to "identifier" 14 years ago
Benjamin Peterson 9faf5ee750 this should technicaly be identifier 14 years ago
Benjamin Peterson ab79c71f39 check for NULL 14 years ago