517 Commits (ea59dbff16e305aa07ef5896cc59fb36dc5edac3)

Author SHA1 Message Date
Brett Cannon ea59dbff16 Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py. 14 years ago
Benjamin Peterson d76bc7abac rollback 005fd1fe31ab (see #14609 and #14582) 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
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 8a1d04c643 Issue #13959: Simplify imp.reload() by relying on a module's 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 49f8d8b016 Handle importing pkg.mod by executing 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
Gregory P. Smith c809f98143 Fixes Issue #14331: Use significantly less stack space when importing modules by 14 years ago
Benjamin Peterson f53d20f2cd in 72556ff86828, I should have updated the magic as well as the comment (#14230) 14 years ago
Benjamin Peterson abdb5528c0 fix comment 14 years ago
Benjamin Peterson 2afe6aeae8 perform yield from delegation by repeating YIELD_FROM opcode (closes #14230) 14 years ago
Antoine Pitrou 4f22a8d739 Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding. 14 years ago
Antoine Pitrou 7214612443 In find_module(), do not silence fileno() and dup() errors. 14 years ago
Victor Stinner a3dd409b52 Remove now useless arbitrary limit of module name length 14 years ago
Antoine Pitrou 33d15f7c85 Port import fixes from 2.7. 14 years ago
Antoine Pitrou 2be60afb7e Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp. 14 years ago
Antoine Pitrou 6c40eb7f42 Fix the builtin module initialization code to store the init function for future reinitialization. 14 years ago
Antoine Pitrou 5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source 14 years ago
Victor Stinner bd0850b857 import.c now catchs _Py_stat() exceptions 14 years ago
Charles-François Natali 1659b83b1d Followup to a541bda2f5e2: Add a short comment. 14 years ago
Charles-François Natali 7c0b0cc9f9 Issue #11051: Reduce the number of syscalls per import. 14 years ago
Antoine Pitrou 86a36b500a PEP 3155 / issue #13448: Qualified name for classes and functions. 14 years ago
Victor Stinner 1f7951711c Catch PyUnicode_AS_UNICODE() errors 14 years ago
Antoine Pitrou 8ad982cccf Use PyUnicode_FromFormat() to create the temporary file name. 14 years ago
Antoine Pitrou 1d8f3f451c Fix regression under Windows following b75b41237380 (from issue #13392) 14 years ago
Antoine Pitrou 28e401e717 Issue #13392: Writing a pyc file should now be atomic under Windows as well. 14 years ago
Charles-François Natali 0c929d9d39 Issue #13303: Fix bytecode file default permission. 14 years ago
Éric Araujo 5df1108de2 Add signatures to the docstring of functions added to imp by PEP 3147 14 years ago
Antoine Pitrou 8db076cf8a Issue #10363: Deallocate global locks in Py_Finalize(). 14 years ago
Charles-François Natali e695eec24a Issue #13303: Fix a race condition in the bytecode file creation. 14 years ago
Martin v. Löwis f45dee998f Port import_module_level to Unicode API. 14 years ago
Martin v. Löwis 796ea53937 Port PyImport_ReloadModule to Unicode API. 14 years ago
Antoine Pitrou b528fcf954 Fix test_imp failure under Windows 14 years ago
Martin v. Löwis 9af29d39af Rewrite find_module_path using unicode API. 14 years ago
Martin v. Löwis 2cc0cc54a2 Fix off-by-one error. 14 years ago
Martin v. Löwis fadcd317fa Drop unused macros. Use CACHEDIR consistently. 14 years ago
Martin v. Löwis 8a0ef78e8c Rewrite make_source_pathname using Unicode API. 14 years ago
Martin v. Löwis 30260a7fe3 Add ready checks for make_compiled_pathname. 14 years ago