Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
9fa47ebafedaf1aef4480bc115b182a62efb79e1
/
Python
/
import.c
8923a4d
Issue #14605: Insert to the front of sys.path_hooks instead of appending.
by Brett Cannon
· 12 years ago
e69f0df
Issue #13959: Re-implement imp.find_module() in Lib/imp.py.
by Brett Cannon
· 12 years ago
a64faf0
Issue #13959: Re-implement imp.source_from_cache() in Lib/imp.py.
by Brett Cannon
· 12 years ago
ea59dbf
Issue #13959: Re-implement imp.cache_from_source() in Lib/imp.py.
by Brett Cannon
· 12 years ago
d76bc7a
rollback 005fd1fe31ab (see #14609 and #14582)
by Benjamin Peterson
· 12 years ago
64befe9
Issue #13959: Re-implement imp.load_compiled() in imp.py.
by Brett Cannon
· 12 years ago
273323c
Issue #14592: A relative import will raise a KeyError if __package__
by Brett Cannon
· 12 years ago
09b86d1
Fix #14600. Correct reference handling and naming of ImportError convenience function
by Brian Curtin
· 12 years ago
16475ad
Issue #13959: Re-implement imp.load_source() in imp.py.
by Brett Cannon
· 12 years ago
22a1d17
Fix another refleak
by Antoine Pitrou
· 12 years ago
538ba2a
Fix a refleak
by Antoine Pitrou
· 12 years ago
71382cb
Fix reference loss on Py_None when None is encountered in sys.modules.
by Antoine Pitrou
· 12 years ago
2ee6142
Issue #13959: Re-implement imp.load_package() in imp.py.
by Brett Cannon
· 12 years ago
01a7617
Issue #13959: Re-implement imp.load_module() in imp.py.
by Brett Cannon
· 12 years ago
8a1d04c
Issue #13959: Simplify imp.reload() by relying on a module's __loader__.
by Brett Cannon
· 12 years ago
6f44d66
Issue #13959: Rename imp to _imp and add Lib/imp.py and begin
by Brett Cannon
· 12 years ago
881535b
Issue #14582: Import returns the module returned by a loader instead
by Brett Cannon
· 12 years ago
27fc528
Set ImportError.name when raising the exception in the case of None
by Brett Cannon
· 12 years ago
49f8d8b
Handle importing pkg.mod by executing
by Brett Cannon
· 12 years ago
e6b299f
Fix Windows build
by Brian Curtin
· 12 years ago
740fce0
Undo a C99 idiom.
by Brett Cannon
· 12 years ago
fd07415
Issue #2377: Make importlib the implementation of __import__().
by Brett Cannon
· 12 years ago
f53d20f
in 72556ff86828, I should have updated the magic as well as the comment (#14230)
by Benjamin Peterson
· 12 years ago
abdb552
fix comment
by Benjamin Peterson
· 12 years ago
2afe6ae
perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)
by Benjamin Peterson
· 12 years ago
cf1c833
Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.
by Antoine Pitrou
· 13 years ago
4f22a8d
Issue #14084: Fix a file descriptor leak when importing a module with a bad encoding.
by Antoine Pitrou
· 13 years ago
7214612
In find_module(), do not silence fileno() and dup() errors.
by Antoine Pitrou
· 13 years ago
a3dd409
Remove now useless arbitrary limit of module name length
by Victor Stinner
· 13 years ago
5816166
Port import fixes from 2.7.
by Antoine Pitrou
· 13 years ago
33d15f7
Port import fixes from 2.7.
by Antoine Pitrou
· 13 years ago
abaf89b
Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
by Antoine Pitrou
· 13 years ago
2be60af
Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp.
by Antoine Pitrou
· 13 years ago
165e01f
Fix the builtin module initialization code to store the init function for future reinitialization.
by Antoine Pitrou
· 13 years ago
6c40eb7
Fix the builtin module initialization code to store the init function for future reinitialization.
by Antoine Pitrou
· 13 years ago
5136ac0
Issue #13645: pyc files now contain the size of the corresponding source
by Antoine Pitrou
· 13 years ago
3573476
(Merge 3.2) Handle correctly _Py_fopen() error: don't replace the exception
by Victor Stinner
· 13 years ago
bd0850b
import.c now catchs _Py_stat() exceptions
by Victor Stinner
· 13 years ago
1659b83
Followup to a541bda2f5e2: Add a short comment.
by Charles-François Natali
· 13 years ago
7c0b0cc
Issue #11051: Reduce the number of syscalls per import.
by Charles-François Natali
· 13 years ago
86a36b5
PEP 3155 / issue #13448: Qualified name for classes and functions.
by Antoine Pitrou
· 13 years ago
1f79517
Catch PyUnicode_AS_UNICODE() errors
by Victor Stinner
· 13 years ago
8ad982c
Use PyUnicode_FromFormat() to create the temporary file name.
by Antoine Pitrou
· 13 years ago
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
· 14 years ago
98dbba5
Issue #3080: Use repr() to format the module name on error
by Victor Stinner
· 14 years ago
ccbf475
Fix imp.cache_from_source() if the directory name contains a dot
by Victor Stinner
· 14 years ago
fe19d21
Issue #3080: imp.new_module() uses Unicode
by Victor Stinner
· 14 years ago
2fd76e4
Issue #3080: find_module() returns the path as Unicode
by Victor Stinner
· 14 years ago
c9a271c
Issue #3080: case_ok() expects Unicode strings
by Victor Stinner
· 14 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
· 14 years ago
Next »