653 Commits (d393c1b227f22fb9af66040b2b367c99a4d1fa9a)

Author SHA1 Message Date
Martin v. Löwis afe55bba33 Add API for static strings, primarily good for identifiers. 14 years ago
Victor Stinner 46084bad88 Fix find_module_path(): make the string ready 14 years ago
Benjamin Peterson 014cc42db8 remove unused label 14 years ago
Martin v. Löwis 0b1d348990 Issue 13085: Fix some memory leaks. Patch by Stefan Krah. 14 years ago
Georg Brandl 4cb0de246c Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY"). 14 years ago
Martin v. Löwis d63a3b8beb Implement PEP 393. 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 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 ed36c06f1d Fix the import machinery if there is an error on sys.path or sys.meta_path 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 871a0fbf46 Remove unused variable if Python is build without threads 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
Victor Stinner 533d78399f Issue #3080: Rename some path variables to path_list 15 years ago
Victor Stinner ad3c03b23e Issue #3080: find_module() expects module fullname and subname as Unicode 15 years ago
Victor Stinner 58d37112ae Issue #3080: Drop OS/2 support for the import machinery 15 years ago
Victor Stinner 9599de5110 Issue #3080: Reindent and simplify import_submodule() 15 years ago
Victor Stinner c24c8108b6 Issue #3080: Use %R to format module name in error messages 15 years ago
Victor Stinner 974389d92c Issue #3080: Use Unicode for the "The Magnum Opus of dotted-name import" 15 years ago
Victor Stinner 2e5f11aaa4 Issue #3080: PyImport_ImportModuleNoBlock() uses Unicode 15 years ago
Victor Stinner 41c5fecce0 Issue #3080: load_module() expects name and path as Unicode 15 years ago
Victor Stinner 2f42ae53aa Issue #3080: Use Unicode to import source and compiled modules 15 years ago
Victor Stinner c9abda0c04 Issue #3080: get_sourcefile(), make_source_pathname(), load_package() 15 years ago
Victor Stinner d68c2cf237 Issue #3080: Create find_module_path() subfunction 15 years ago
Victor Stinner 3758028299 Issue #3080: Create find_module_path_list() subfunction 15 years ago
Victor Stinner c696316466 Issue #3080: Remove useless name buffer from find_module() 15 years ago
Victor Stinner 7d8b77c2aa Issue #3080: find_module() initialize buf and *p_fp 15 years ago