Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6166519d2bfb0b6fd7ff304da89c59b10557d4a3
/
Python
/
import.c
1d8f3f4
Fix regression under Windows following b75b41237380 (from issue #13392)
by Antoine Pitrou
· 13 years ago
28e401e
Issue #13392: Writing a pyc file should now be atomic under Windows as well.
by Antoine Pitrou
· 13 years ago
0c929d9
Issue #13303: Fix bytecode file default permission.
by Charles-François Natali
· 13 years ago
e640521
Merge follow-up for #11254 and other changes from 3.2
by Éric Araujo
· 13 years ago
5df1108
Add signatures to the docstring of functions added to imp by PEP 3147
by Éric Araujo
· 13 years ago
8db076c
Issue #10363: Deallocate global locks in Py_Finalize().
by Antoine Pitrou
· 13 years ago
e695eec
Issue #13303: Fix a race condition in the bytecode file creation.
by Charles-François Natali
· 13 years ago
f45dee9
Port import_module_level to Unicode API.
by Martin v. Löwis
· 13 years ago
6fbbc33
Issue #10363: Deallocate global locks in Py_Finalize().
by Antoine Pitrou
· 13 years ago
796ea53
Port PyImport_ReloadModule to Unicode API.
by Martin v. Löwis
· 13 years ago
b528fcf
Fix test_imp failure under Windows
by Antoine Pitrou
· 13 years ago
9af29d3
Rewrite find_module_path using unicode API.
by Martin v. Löwis
· 13 years ago
2cc0cc5
Fix off-by-one error.
by Martin v. Löwis
· 13 years ago
fadcd31
Drop unused macros. Use CACHEDIR consistently.
by Martin v. Löwis
· 13 years ago
8a0ef78
Rewrite make_source_pathname using Unicode API.
by Martin v. Löwis
· 13 years ago
30260a7
Add ready checks for make_compiled_pathname.
by Martin v. Löwis
· 13 years ago
2db7286
Reformulate make_compiled_pathname in terms of unicode objects.
by Martin v. Löwis
· 13 years ago
707033a
Issue #13146: Writing a pyc file is now atomic under POSIX.
by Antoine Pitrou
· 13 years ago
bd928fe
Rename _Py_identifier to _Py_IDENTIFIER.
by Martin v. Löwis
· 13 years ago
8c98189
Fix typo in import.c
by Victor Stinner
· 13 years ago
beac78b
Use PyUnicode_AsUnicodeAndSize() instead of PyUnicode_GET_SIZE()
by Victor Stinner
· 13 years ago
1ee1b6f
Use identifier API for PyObject_GetAttrString.
by Martin v. Löwis
· 13 years ago
afe55bb
Add API for static strings, primarily good for identifiers.
by Martin v. Löwis
· 13 years ago
46084ba
Fix find_module_path(): make the string ready
by Victor Stinner
· 13 years ago
014cc42
remove unused label
by Benjamin Peterson
· 13 years ago
0b1d348
Issue 13085: Fix some memory leaks. Patch by Stefan Krah.
by Martin v. Löwis
· 13 years ago
4cb0de2
Rename new macros to conform to naming rules (function macros have "Py" prefix, not "PY").
by Georg Brandl
· 13 years ago
d63a3b8
Implement PEP 393.
by Martin v. Löwis
· 13 years ago
a1fe1f8
Merge 3.2: Issue #7732: Don't open a directory as a file anymore while
by Victor Stinner
· 13 years ago
53ffdc5
Issue #7732: Don't open a directory as a file anymore while importing a
by Victor Stinner
· 13 years ago
9561d7c
import.c: remove now useless arbitrary limit
by Victor Stinner
· 13 years ago
84b8e40
Merge 3.2: Fix the import machinery if there is an error on sys.path or sys.meta_path
by Victor Stinner
· 13 years ago
1619132
Fix the import machinery if there is an error on sys.path or sys.meta_path
by Victor Stinner
· 13 years ago
22d80bc
Merge 3.2: Remove unused variable if Python is build without threads
by Victor Stinner
· 13 years ago
0af0306
Remove unused variable if Python is build without threads
by Victor Stinner
· 13 years ago
d417d01
call_find_module() handles dup() failure: raise an OSError exception
by Victor Stinner
· 13 years ago
925ef39
find_module_path_list() fails if _Py_fopen() failed and raised an exception
by Victor Stinner
· 13 years ago
e7c15fa
bump magic for super closure change
by Benjamin Peterson
· 13 years ago
48deae1
some horrible preprocessing tricks to automatically update the tag
by Benjamin Peterson
· 13 years ago
25095b2
Remove useless assignments
by Victor Stinner
· 13 years ago
04778a8
make PyImport_ImportModuleLevel's first arg const like similiar functions (closes #12173)
by Benjamin Peterson
· 13 years ago
783c82c
Close #11619: write_compiled_module() doesn't encode the filename
by Victor Stinner
· 13 years ago
fe7c5b5
Issue #9319: Include the filename in "Non-UTF8 code ..." syntax error.
by Victor Stinner
· 13 years ago
442c9b9
Make importlib compatible with __import__ by "fixing" code.co_filename paths.
by Brett Cannon
· 13 years ago
e9ddbf6
Issue #11630, issue #3080: Fix refleak introduced by ef2b6305d395
by Victor Stinner
· 13 years ago
9c61e24
Issue #3080: On DJGPP, case_bytes() returns -1 to signal an error if the file
by Victor Stinner
· 13 years ago
6ae1e7f
Issue #3080: imp.load_module() accepts None for the module path
by Victor Stinner
· 13 years ago
cc9564e
Issue #3080: Fix call to case_ok() in find_init_module()
by Victor Stinner
· 13 years ago
1304f2d
Issue #3080: Fix case_ok() using case_bytes()
by Victor Stinner
· 13 years ago
fe93faf
Issue #3080: Add PyImport_ImportModuleLevelObject() function
by Victor Stinner
· 13 years ago
98dbba5
Issue #3080: Use repr() to format the module name on error
by Victor Stinner
· 13 years ago
ccbf475
Fix imp.cache_from_source() if the directory name contains a dot
by Victor Stinner
· 13 years ago
fe19d21
Issue #3080: imp.new_module() uses Unicode
by Victor Stinner
· 13 years ago
2fd76e4
Issue #3080: find_module() returns the path as Unicode
by Victor Stinner
· 13 years ago
c9a271c
Issue #3080: case_ok() expects Unicode strings
by Victor Stinner
· 13 years ago
547a2a6
Issue #3080: find_init_module() expects Unicode
by Victor Stinner
· 13 years ago
d029621
Issue #3080: Refactor find_module_path(), use return instead of break
by Victor Stinner
· 13 years ago
df75a02
Issue #3080: find_module() sets an empty path for builtin and frozen modules
by Victor Stinner
· 13 years ago
533d783
Issue #3080: Rename some path variables to path_list
by Victor Stinner
· 13 years ago
ad3c03b
Issue #3080: find_module() expects module fullname and subname as Unicode
by Victor Stinner
· 13 years ago
58d3711
Issue #3080: Drop OS/2 support for the import machinery
by Victor Stinner
· 13 years ago
9599de5
Issue #3080: Reindent and simplify import_submodule()
by Victor Stinner
· 13 years ago
c24c810
Issue #3080: Use %R to format module name in error messages
by Victor Stinner
· 13 years ago
974389d
Issue #3080: Use Unicode for the "The Magnum Opus of dotted-name import"
by Victor Stinner
· 13 years ago
2e5f11a
Issue #3080: PyImport_ImportModuleNoBlock() uses Unicode
by Victor Stinner
· 13 years ago
41c5fec
Issue #3080: load_module() expects name and path as Unicode
by Victor Stinner
· 13 years ago
2f42ae5
Issue #3080: Use Unicode to import source and compiled modules
by Victor Stinner
· 13 years ago
c9abda0
Issue #3080: get_sourcefile(), make_source_pathname(), load_package()
by Victor Stinner
· 13 years ago
d68c2cf
Issue #3080: Create find_module_path() subfunction
by Victor Stinner
· 13 years ago
3758028
Issue #3080: Create find_module_path_list() subfunction
by Victor Stinner
· 13 years ago
c696316
Issue #3080: Remove useless name buffer from find_module()
by Victor Stinner
· 13 years ago
7d8b77c
Issue #3080: find_module() initialize buf and *p_fp
by Victor Stinner
· 13 years ago
fefd70c
Issue #3080: _PyImport_LoadDynamicModule() uses Unicode for name and path
by Victor Stinner
· 13 years ago
4d6c1c4
Issue #3080: _PyWin_FindRegisteredModule() returns the path as Unicode
by Victor Stinner
· 13 years ago
21fcd0c
Issue #3080: Use PyUnicode_InternFromString() for builtins
by Victor Stinner
· 13 years ago
9587286
Issue #3080: Import builtins using Unicode strings
by Victor Stinner
· 13 years ago
53dc735
Issue #3080: Add PyImport_ImportFrozenModuleObject()
by Victor Stinner
· 13 years ago
9464d61
Issue #3080: PyImport_Cleanup() uses Unicode
by Victor Stinner
· 13 years ago
942003c
import.c: replace tab by spaces
by Victor Stinner
· 13 years ago
27ee089
Issue #3080: Add PyImport_AddModuleObject() and PyImport_ExecCodeModuleObject()
by Victor Stinner
· 14 years ago
501c09a
Issue #3080: Mark _PyImport_FindBuiltin() argument as constant
by Victor Stinner
· 14 years ago
9b99b44
Issue #3080: Mark PyWin_FindRegisteredModule() as private
by Victor Stinner
· 14 years ago
4d0d471
Merge branches/pep-0384.
by Martin v. Löwis
· 14 years ago
ebc0052
import: use PyUnicode_FSConverter to support bytes path and PEP 383
by Victor Stinner
· 14 years ago
b2ddf79
Issue #9573: os.fork now works when triggered as a side effect of import (the wisdom of actually relying on this remains questionable!)
by Nick Coghlan
· 14 years ago
e5b99f0
Remove redundant includes of headers that are already included by Python.h.
by Georg Brandl
· 14 years ago
3e2b717
Issue #10359: Remove ";" after function definition, invalid in ISO C
by Victor Stinner
· 14 years ago
ed7916d
find_module(): use FS encoding to display the missing __init__ warning
by Victor Stinner
· 14 years ago
49d3f25
_PyImport_FixupExtension() and _PyImport_FindExtension() uses FS encoding
by Victor Stinner
· 14 years ago
294a9fc
fix refleak
by Benjamin Peterson
· 14 years ago
88bd891
Fix imp_cache_from_source(): Decode make_compiled_pathname() result from the
by Victor Stinner
· 14 years ago
1a56303
imp_load_module() uses PyUnicode_FSConverter() to support surrogates in module
by Victor Stinner
· 14 years ago
3ea23dd
imp.cache_from_source() uses PyUnicode_FSConverter() to support surrogates in
by Victor Stinner
· 14 years ago
8dbf629
imp.load_dynamic() uses PyUnicode_FSConverter() to support surrogates
by Victor Stinner
· 14 years ago
4e31443
Create fileutils.c/.h
by Victor Stinner
· 14 years ago
beb4135b
PyUnicode_AsWideCharString() takes a PyObject*, not a PyUnicodeObject*
by Victor Stinner
· 14 years ago
748cace
Remove an unreferenced variable. len is no longer needed.
by Brian Curtin
· 14 years ago
255dfdb
Issue #9979: Use PyUnicode_AsWideCharString() in import.c
by Victor Stinner
· 14 years ago
bc2eff3
PyImport_Import was using the old import hack of sticking a dummy value into
by Brett Cannon
· 14 years ago
cd419ab
Fix incorrect comment regarding MAGIC and TAG in import.c
by Nick Coghlan
· 14 years ago
Next »