403 Commits (4a84f58143ca01db181f28df06ac922fbf73a1d7)

Author SHA1 Message Date
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
É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
Victor Stinner 53ffdc53bf Issue #7732: Don't open a directory as a file anymore while importing a 14 years ago
Victor Stinner 1619132e5d Fix the import machinery if there is an error on sys.path or sys.meta_path 14 years ago
Victor Stinner 0af0306396 Remove unused variable if Python is build without threads 15 years ago
Martin v. Löwis 4d0d471a80 Merge branches/pep-0384. 15 years ago
Victor Stinner ebc0052e3a import: use PyUnicode_FSConverter to support bytes path and PEP 383 15 years ago
Nick Coghlan b2ddf7979d Issue #9573: os.fork now works when triggered as a side effect of import (the wisdom of actually relying on this remains questionable!) 15 years ago
Georg Brandl e5b99f0fb3 Remove redundant includes of headers that are already included by Python.h. 15 years ago
Victor Stinner 3e2b7171bf Issue #10359: Remove ";" after function definition, invalid in ISO C 15 years ago
Victor Stinner ed7916dd00 find_module(): use FS encoding to display the missing __init__ warning 15 years ago
Victor Stinner 49d3f2514b _PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding 15 years ago
Benjamin Peterson 294a9fcba6 fix refleak 15 years ago
Victor Stinner 88bd891e6c Fix imp_cache_from_source(): Decode make_compiled_pathname() result from the 15 years ago
Victor Stinner 1a5630326f imp_load_module() uses PyUnicode_FSConverter() to support surrogates in module 15 years ago
Victor Stinner 3ea23ddabf imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates in 15 years ago
Victor Stinner 8dbf629bbd imp.load_dynamic() uses PyUnicode_FSConverter() to support surrogates 15 years ago
Victor Stinner 4e31443c4d Create fileutils.c/.h 15 years ago
Victor Stinner beb4135b8c PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject* 15 years ago
Brian Curtin 748cacee46 Remove an unreferenced variable. len is no longer needed. 15 years ago
Victor Stinner 255dfdb5ce Issue #9979: Use PyUnicode_AsWideCharString() in import.c 15 years ago
Brett Cannon bc2eff3112 PyImport_Import was using the old import hack of sticking a dummy value into 16 years ago
Nick Coghlan cd419abe42 Fix incorrect comment regarding MAGIC and TAG in import.c 16 years ago
Benjamin Peterson 6246d6dcb0 bump magic number for DELETE_DEREF 16 years ago
Daniel Stutzbach c7937791a1 Fix Issue #9752: MSVC compiler warning due to undefined function 16 years ago
Antoine Pitrou 74a69fa662 Issue #9225: Remove the ROT_FOUR and DUP_TOPX opcode, the latter replaced 16 years ago
Victor Stinner 6b06da5395 Remove unused functions _PyImport_FindModule and _PyImport_IsScript 16 years ago
Florent Xicluna 2760a66b69 Merged revisions 81214,82302,82465,83090-83091,84097,84099 via svnmerge from 16 years ago
Victor Stinner f52b705be4 Create _Py_fopen() for PyUnicodeObject path 16 years ago
Victor Stinner 8a79dccc48 _Py_stat(): ensure that path ends with a nul character 16 years ago
Victor Stinner 4f4402c4bb Issue #9425: Create private _Py_stat() function 16 years ago
Victor Stinner 1a4d12d746 Issue #9425: NullImporter constructor is fully unicode compliant 16 years ago
Victor Stinner 44c6c155d6 Issue #9425: Create load_builtin() subfunction 16 years ago
Benjamin Peterson 556d8001df Merged revisions 81380 via svnmerge from 16 years ago
Barry Warsaw 7c9627b4de Typo repair. 16 years ago
Victor Stinner ae6265f8d0 Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode 16 years ago
Antoine Pitrou 7f14f0d8a0 Recorded merge of revisions 81032 via svnmerge from 16 years ago
Antoine Pitrou f95a1b3c53 Recorded merge of revisions 81029 via svnmerge from 16 years ago
Barry Warsaw 28a691b7fd PEP 3147 16 years ago
Benjamin Peterson fa0aebacd9 Merged revisions 79428 via svnmerge from 16 years ago
Victor Stinner ffbc2f63e1 Merged revisions 78872 via svnmerge from 16 years ago
Victor Stinner 38c36f8576 Merged revisions 78875 via svnmerge from 16 years ago
Victor Stinner 3f1af5c42e Issue #6697: use %U format instead of _PyUnicode_AsString(), because 16 years ago
Victor Stinner 52f6dd7a3d Merged revisions 78826 via svnmerge from 16 years ago
Gregory P. Smith 24cec9fe07 Merged revisions 78527,78550 via svnmerge from 16 years ago
Brett Cannon 9a5b25a3ef Strip out trailing whitespace. 16 years ago
Benjamin Peterson 0f6cae0bff remove magic number bumping from the 2.x -U option #7459 16 years ago