474 Commits (261ccdce4825535d4f6ea4bf09e9394bb751df20)

Author SHA1 Message Date
Éric Araujo 5df1108de2 Add signatures to the docstring of functions added to imp by PEP 3147 15 years ago
Antoine Pitrou 8db076cf8a Issue #10363: Deallocate global locks in Py_Finalize(). 15 years ago
Charles-François Natali e695eec24a Issue #13303: Fix a race condition in the bytecode file creation. 15 years ago
Martin v. Löwis f45dee998f Port import_module_level to Unicode API. 15 years ago
Martin v. Löwis 796ea53937 Port PyImport_ReloadModule to Unicode API. 15 years ago
Antoine Pitrou b528fcf954 Fix test_imp failure under Windows 15 years ago
Martin v. Löwis 9af29d39af Rewrite find_module_path using unicode API. 15 years ago
Martin v. Löwis 2cc0cc54a2 Fix off-by-one error. 15 years ago
Martin v. Löwis fadcd317fa Drop unused macros. Use CACHEDIR consistently. 15 years ago
Martin v. Löwis 8a0ef78e8c Rewrite make_source_pathname using Unicode API. 15 years ago
Martin v. Löwis 30260a7fe3 Add ready checks for make_compiled_pathname. 15 years ago
Martin v. Löwis 2db72863fb Reformulate make_compiled_pathname in terms of unicode objects. 15 years ago
Antoine Pitrou 707033a694 Issue #13146: Writing a pyc file is now atomic under POSIX. 15 years ago
Martin v. Löwis bd928fef42 Rename _Py_identifier to _Py_IDENTIFIER. 15 years ago
Victor Stinner 8c9818980b Fix typo in import.c 15 years ago
Victor Stinner beac78bb24 Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE() 15 years ago
Martin v. Löwis 1ee1b6fe0d Use identifier API for PyObject_GetAttrString. 15 years ago
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 15 years ago
Victor Stinner 46084bad88 Fix find_module_path(): make the string ready 15 years ago
Benjamin Peterson 014cc42db8 remove unused label 15 years ago
Martin v. Löwis 0b1d348990 Issue 13085: Fix some memory leaks. Patch by Stefan Krah. 15 years ago
Georg Brandl 4cb0de246c Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY"). 15 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 15 years ago
Victor Stinner 53ffdc53bf Issue #7732: Don't open a directory as a file anymore while importing a 15 years ago
Victor Stinner 9561d7c526 import.c: remove now useless arbitrary limit 15 years ago
Victor Stinner 1619132e5d Fix the import machinery if there is an error on sys.path or sys.meta_path 15 years ago
Victor Stinner 0af0306396 Remove unused variable if Python is build without threads 15 years ago
Victor Stinner d417d01ec8 call_find_module() handles dup() failure: raise an OSError exception 15 years ago
Victor Stinner 925ef39949 find_module_path_list() fails if _Py_fopen() failed and raised an exception 15 years ago
Benjamin Peterson e7c15fa184 bump magic for super closure change 15 years ago
Benjamin Peterson 48deae12d5 some horrible preprocessing tricks to automatically update the tag 15 years ago
Victor Stinner 25095b2be6 Remove useless assignments 15 years ago
Benjamin Peterson 04778a8150 make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173) 15 years ago
Victor Stinner 783c82c701 Close #11619: write_compiled_module() doesn't encode the filename 15 years ago
Victor Stinner fe7c5b5bdf Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error. 15 years ago
Brett Cannon 442c9b92d8 Make importlib compatible with __import__ by "fixing" code.co_filename 15 years ago
Victor Stinner e9ddbf65a8 Issue #11630, issue #3080: Fix refleak introduced by ef2b6305d395 15 years ago
Victor Stinner 9c61e24be4 Issue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file 15 years ago
Victor Stinner 6ae1e7f04e Issue #3080: imp.load_module() accepts None for the module path 15 years ago
Victor Stinner cc9564ecd8 Issue #3080: Fix call to case_ok() in find_init_module() 15 years ago
Victor Stinner 1304f2d8a3 Issue #3080: Fix case_ok() using case_bytes() 15 years ago
Victor Stinner fe93faf98c Issue #3080: Add PyImport_ImportModuleLevelObject() function 15 years ago
Victor Stinner 98dbba5d20 Issue #3080: Use repr() to format the module name on error 15 years ago
Victor Stinner ccbf475dfd Fix imp.cache_from_source() if the directory name contains a dot 15 years ago
Victor Stinner fe19d21815 Issue #3080: imp.new_module() uses Unicode 15 years ago
Victor Stinner 2fd76e478f Issue #3080: find_module() returns the path as Unicode 15 years ago
Victor Stinner c9a271cf2b Issue #3080: case_ok() expects Unicode strings 15 years ago
Victor Stinner 547a2a6d52 Issue #3080: find_init_module() expects Unicode 15 years ago
Victor Stinner d029621c70 Issue #3080: Refactor find_module_path(), use return instead of break 15 years ago
Victor Stinner df75a023a0 Issue #3080: find_module() sets an empty path for builtin and frozen modules 15 years ago