3762 Commits (665c3b3eece6d5b8bfbb7d1808569f3e001d6270)

Author SHA1 Message Date
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
Benjamin Peterson a4e4e35783 check by equality for __future__ not identity (closes #14378) 14 years ago
Benjamin Peterson 302e7902c8 use identifier api 14 years ago
Larry Hastings 83a9f48699 Issue #14328: Add keyword-only parameters to PyArg_ParseTupleAndKeywords. 14 years ago
Gregory P. Smith c809f98143 Fixes Issue #14331: Use significantly less stack space when importing modules by 14 years ago
Benjamin Peterson 01feaecbfa plug memory leak (closes #14325) 14 years ago
Benjamin Peterson eb74918685 kill capsule names that we don't need anymore 14 years ago
Benjamin Peterson f7c132158d use memory macros 14 years ago
Benjamin Peterson 7ed67270a8 check result of PyMem_New 14 years ago
Benjamin Peterson f53d20f2cd in 72556ff86828, I should have updated the magic as well as the comment (#14230) 14 years ago
Jean-Paul Calderone c961b4abaa Issue #14325: Stop using python lists, capsules, and the garbage collector to deal with PyArg_Parse* cleanup. 14 years ago