Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
refs/heads/int/p/fp2
/
Python
/
import.c
« Previous
98979b8
Issue #15166: Re-implement imp.get_tag() using sys.implementation.
by Brett Cannon
· 12 years ago
81c39a8
get_sourcefile(): use PyUnicode_READ() to avoid the creation of a temporary
by Victor Stinner
· 12 years ago
0b43bcf
Close #14857: fix regression in references to PEP 3135 implicit __class__ closure variable. Reopens issue #12370, but also updates unittest.mock to workaround that issue
by Nick Coghlan
· 12 years ago
ea3eb88
Issue #9260: A finer-grained import lock.
by Antoine Pitrou
· 12 years ago
6efa50a
Issue #14583: Fix importlib bug when a package's __init__.py would first import one of its modules then raise an error.
by Antoine Pitrou
· 12 years ago
b78174c
Fix too early decrefs.
by Antoine Pitrou
· 12 years ago
8f46d65
Fix typo in changeset eb5c5c23ca9b.
by Nadeem Vawda
· 12 years ago
f3a42de
Simplify code for load_dynamic()
by Antoine Pitrou
· 12 years ago
0429e1a
Issue #13959: Move module type constants to Lib/imp.py.
by Brett Cannon
· 12 years ago
6b9b727
Remove dead Windows code which no longer will compile.
by Brett Cannon
· 12 years ago
2657df4
Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py.
by Brett Cannon
· 12 years ago
62228db
Issues #13959, 14647: Re-implement imp.reload() in Lib/imp.py.
by Brett Cannon
· 12 years ago
acf85cd
Issue #13959: Re-implement imp.NullImporter in Lib/imp.py.
by Brett Cannon
· 12 years ago
aa93642
Issue #14605: Use None in sys.path_importer_cache to represent no
by Brett Cannon
· 12 years ago
8f82506
Check newly created consistency using _PyUnicode_CheckConsistency(str, 1)
by Victor Stinner
· 12 years ago
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
· 13 years ago
abdb552
fix comment
by Benjamin Peterson
· 13 years ago
2afe6ae
perform yield from delegation by repeating YIELD_FROM opcode (closes #14230)
by Benjamin Peterson
· 13 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
Next »