355 Commits (c551776f8e5b4c8bcb3cf4b91c679ba080e543cf)

Author SHA1 Message Date
Antoine Pitrou 284fa08eb7 Issue #14761: Fix potential leak on an error case in the import machinery. 14 years ago
Gregory P. Smith a72aa843b6 Fix compiler warning related to issue #14331. harmless. 14 years ago
Gregory P. Smith fcdf04becc Fixes Issue #14331: Use significantly less stack space when importing modules by 14 years ago
Jason R. Coombs 0e17dfbdcf Test in 6c218b9c5c4c was inadvertently converted from #ifdef to #if. Now #ifdef again. 14 years ago
Antoine Pitrou 6f25d75f25 Remove debug output, fix assert (hopefully) and exercise signedness issues a bit more. 14 years ago
Antoine Pitrou b744cef654 Fix temporary debug output (so, time_t is 8 bytes on some Windows builds) 14 years ago
Antoine Pitrou 11cc480ed0 Temporary debug for Windows buildbots. 14 years ago
Antoine Pitrou 0e5fd59a27 Make guard more dynamic (apparently the size of a filesystem timestamp may vary under Windows). 14 years ago
Antoine Pitrou d1c818a9c0 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
Jason R. Coombs 0737b7281e Fix indentation 14 years ago
Jason R. Coombs fa93cf8e3e Extracted Windows directory detection from NullImporter.__init__. This greatly simplifies the code and fixes issue6727. 14 years ago
Jason R. Coombs 925ff7495b Moved directory detection into an isdir function 14 years ago
Victor Stinner 63c22fac72 Issue #7732: Fix a crash on importing a module if a directory has the same name 15 years ago
Victor Stinner ed36c06f1d Fix the import machinery if there is an error on sys.path or sys.meta_path 15 years ago
Victor Stinner 871a0fbf46 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. 16 years ago
Victor Stinner 255dfdb5ce Issue #9979: Use PyUnicode_AsWideCharString() in import.c 16 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
Brett Cannon 7d006260a5 Merged revisions 81380 via svnmerge from 16 years ago
Brett Cannon eb3cd301ae Turned out that if you used explicit relative import syntax 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