summaryrefslogtreecommitdiff
path: root/Python/import.c
AgeCommit message (Expand)AuthorLines
2012-04-14Undo a C99 idiom.Brett Cannon-2/+2
2012-04-14Issue #2377: Make importlib the implementation of __import__().Brett Cannon-520/+242
2012-03-16in 72556ff86828, I should have updated the magic as well as the comment (#14230)Benjamin Peterson-1/+1
2012-03-15fix commentBenjamin Peterson-2/+2
2012-03-15perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)Benjamin Peterson-1/+2
2012-02-22Issue #14084: Fix a file descriptor leak when importing a module with a bad e...Antoine Pitrou-4/+3
2012-02-22Issue #14084: Fix a file descriptor leak when importing a module with a bad e...Antoine Pitrou-1/+3
2012-02-22In find_module(), do not silence fileno() and dup() errors.Antoine Pitrou-0/+2
2012-01-26Remove now useless arbitrary limit of module name lengthVictor Stinner-6/+0
2012-01-25Port import fixes from 2.7.Antoine Pitrou-10/+10
2012-01-25Port import fixes from 2.7.Antoine Pitrou-10/+10
2012-01-24Issue #11235: Fix OverflowError when trying to import a source file whose mod...Antoine Pitrou-7/+4
2012-01-24Issue #11235: Fix OverflowError when trying to import a source file whose mod...Antoine Pitrou-7/+4
2012-01-18Fix the builtin module initialization code to store the init function for fut...Antoine Pitrou-0/+4
2012-01-18Fix the builtin module initialization code to store the init function for fut...Antoine Pitrou-0/+4
2012-01-13Issue #13645: pyc files now contain the size of the corresponding sourceAntoine Pitrou-6/+20
2011-12-18(Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exceptionVictor Stinner-9/+21
2011-12-18import.c now catchs _Py_stat() exceptionsVictor Stinner-7/+31
2011-12-07Followup to a541bda2f5e2: Add a short comment.Charles-François Natali-0/+1
2011-12-07Issue #11051: Reduce the number of syscalls per import.Charles-François Natali-2/+1
2011-11-25PEP 3155 / issue #13448: Qualified name for classes and functions.Antoine Pitrou-1/+2
2011-11-17Catch PyUnicode_AS_UNICODE() errorsVictor Stinner-14/+33
2011-11-15Use PyUnicode_FromFormat() to create the temporary file name.Antoine Pitrou-27/+14
2011-11-15Fix regression under Windows following b75b41237380 (from issue #13392)Antoine Pitrou-0/+5
2011-11-15Issue #13392: Writing a pyc file should now be atomic under Windows as well.Antoine Pitrou-10/+38
2011-11-10Issue #13303: Fix bytecode file default permission.Charles-François Natali-6/+5
2011-11-03Merge follow-up for #11254 and other changes from 3.2Éric Araujo-2/+4
2011-11-03Add signatures to the docstring of functions added to imp by PEP 3147Éric Araujo-2/+4
2011-10-30Issue #10363: Deallocate global locks in Py_Finalize().Antoine Pitrou-10/+15
2011-10-31Issue #13303: Fix a race condition in the bytecode file creation.Charles-François Natali-42/+8
2011-10-30Port import_module_level to Unicode API.Martin v. Löwis-103/+61
2011-10-30Issue #10363: Deallocate global locks in Py_Finalize().Antoine Pitrou-10/+15
2011-10-30Port PyImport_ReloadModule to Unicode API.Martin v. Löwis-34/+26
2011-10-25Fix test_imp failure under WindowsAntoine Pitrou-2/+9
2011-10-23Rewrite find_module_path using unicode API.Martin v. Löwis-34/+47
2011-10-23Fix off-by-one error.Martin v. Löwis-2/+2
2011-10-23Drop unused macros. Use CACHEDIR consistently.Martin v. Löwis-8/+4
2011-10-23Rewrite make_source_pathname using Unicode API.Martin v. Löwis-38/+41
2011-10-23Add ready checks for make_compiled_pathname.Martin v. Löwis-1/+9
2011-10-23Reformulate make_compiled_pathname in terms of unicode objects.Martin v. Löwis-114/+59
2011-10-17Issue #13146: Writing a pyc file is now atomic under POSIX.Antoine Pitrou-9/+36
2011-10-14Rename _Py_identifier to _Py_IDENTIFIER.Martin v. Löwis-6/+6
2011-10-11Fix typo in import.cVictor Stinner-1/+1
2011-10-11Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()Victor Stinner-3/+8
2011-10-10Use identifier API for PyObject_GetAttrString.Martin v. Löwis-7/+9
2011-10-09Add API for static strings, primarily good for identifiers.Martin v. Löwis-4/+7
2011-10-06Fix find_module_path(): make the string readyVictor Stinner-0/+3
2011-10-02remove unused labelBenjamin Peterson-1/+0
2011-10-01Issue 13085: Fix some memory leaks. Patch by Stefan Krah.Martin v. Löwis-11/+19
2011-09-28Rename new macros to conform to naming rules (function macros have "Py" prefi...Georg Brandl-3/+3