Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
6c9e5b779f4cbb16f529f0451a07eaa57caad896
/
Lib
/
importlib
/
_bootstrap.py
4969f70
#11515: Merge with 3.1.
by Ezio Melotti
· 13 years ago
42da663
#11515: fix several typos. Patch by Piotr Kasprzyk.
by Ezio Melotti
· 13 years ago
d958ea7
Issue 10899: Remove function type annotations from the stdlib
by Raymond Hettinger
· 14 years ago
cd92f37
Issue 10899: Remove function type annotations from the stdlib
by Raymond Hettinger
· 14 years ago
0ffe6a9
Fix a minor inconsistency in capitalization for the 'No module named' exception
by Brett Cannon
· 14 years ago
764d612
Remove redundant context manager.
by Florent Xicluna
· 14 years ago
a7ceeb3
OSError is the exception raised when one tries to create a directory that
by Brett Cannon
· 14 years ago
1d6569c
Fix a bug where an attribute was lacking an object to work off of.
by Brett Cannon
· 14 years ago
ee6d647
One of the joys of having test_multiprocessing occasionally execute after
by Brett Cannon
· 14 years ago
418182e
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
61b1425
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
0cf9e6a
Move importlib.abc.SourceLoader to _bootstrap.
by Brett Cannon
· 14 years ago
04b5684
Repair test failure. Bug 8727.
by Barry Warsaw
· 14 years ago
28a691b
PEP 3147
by Barry Warsaw
· 14 years ago
39440b1
Merged revisions 78242 via svnmerge from
by Brett Cannon
· 14 years ago
9b3e15f
Importlib was not matching import's handling of .pyc files where it had less
by Brett Cannon
· 14 years ago
b4b929e
no need to translate newlines in python code anymore
by Benjamin Peterson
· 15 years ago
3d26b95
Merged revisions 76146 via svnmerge from
by Brett Cannon
· 15 years ago
e52c919
When trying to write new bytecode, importlib was not catching the IOError
by Brett Cannon
· 15 years ago
1c1dcbf
Trying to import a submodule from another module and not a package was raising
by Brett Cannon
· 15 years ago
de4ebfe
When the globals argument to importlib.__import__() contained any value for
by Brett Cannon
· 15 years ago
6afbaef
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
by Brett Cannon
· 15 years ago
9e0e1a6
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
by Brett Cannon
· 15 years ago
8a1a59f
Merged revisions 74584 via svnmerge from
by Brett Cannon
· 15 years ago
4d75fc1
Have importlib raise ImportError if None is found in sys.modules. This matches
by Brett Cannon
· 15 years ago
6919427
Implement the PEP 302 protocol for get_filename() as
by Brett Cannon
· 15 years ago
12e533d
Rip out a useless method that the superclass implements properly.
by Brett Cannon
· 15 years ago
8593a75
Fix importlib.machinery.PathFinder.find_module() to essentially skip over None
by Brett Cannon
· 15 years ago
8d11013
Implement InspectLoader for FrozenImporter.
by Brett Cannon
· 15 years ago
a113ac5
Implement InspectLoader for BuiltinImporter.
by Brett Cannon
· 15 years ago
7aa21f7
A few more docstring/API cleanups for importlib.
by Brett Cannon
· 15 years ago
0e0d8a6
Clean up docstring from importlib.util.module_for_loader.
by Brett Cannon
· 15 years ago
f87e04d
Finish properly hiding importlib implementation code.
by Brett Cannon
· 15 years ago
e9103d2
Last big re-organization of importlib._bootstrap. Should actually be able to find something in the file now.
by Brett Cannon
· 15 years ago
ce43ddf
Do a little bit of reorganization on importlib._bootstrap.
by Brett Cannon
· 15 years ago
3eeaa0a
Make utility code in importlib._bootstrap private.
by Brett Cannon
· 15 years ago
2cf03a8
Implement importlib.util.set_loader: a decorator to automatically set
by Brett Cannon
· 15 years ago
d43b30b
Implement get_source for importlib.abc.PyLoader using source_path and get_data.
by Brett Cannon
· 15 years ago
2a922ed
Introduce importlib.abc. The module contains various ABCs related to imports
by Brett Cannon
· 15 years ago
29dff8a
Fix importlib._bootstrap.PyPycLoader.load_module() to better handle
by Brett Cannon
· 15 years ago
1014d42
Minor changes to Python source base loader.
by Brett Cannon
· 15 years ago
435aad8
Rename importlib.util.set___package__ to set_package.
by Brett Cannon
· 15 years ago
7c9875c
Move importlib over to _io.
by Brett Cannon
· 15 years ago
4fa88fa
merge the io-c branch: C implementation of the io module
by Benjamin Peterson
· 15 years ago
94aaf9e
Relocate source_mtime in importlib to PyPycLoader.
by Brett Cannon
· 15 years ago
91cf882
Refactor source and bytecode file loaders in importlib so that there
by Brett Cannon
· 15 years ago
0515619
Tweak the source/bytecode loader from importlib to use more of the PEP 302
by Brett Cannon
· 15 years ago
4afab6b
Separate out finder for source and source/bytecode.
by Brett Cannon
· 15 years ago
2dee597
Do some cleanup in importlib:
by Brett Cannon
· 15 years ago
d2e7b33
Implement the more specific PEP 302 semantics for loaders and what happens upon
by Brett Cannon
· 15 years ago
32732e3
Change importlib.machinery.PathFinder to not have implicit semantics (that's
by Brett Cannon
· 15 years ago
51d8bfc
Create a simple substitute for functools.wraps to use in importlib._bootstrap.
by Brett Cannon
· 15 years ago
06c9d96
Move importlib completely over to using rpartition and accepting the empty
by Brett Cannon
· 15 years ago
d94e558
Move importlib's built-in importer to use rpartition for __package__.
by Brett Cannon
· 15 years ago
eb2e0dd
Move importlib's frozen importer over to rpartition for setting __package__.
by Brett Cannon
· 15 years ago
2c318a1
Rewrite the code implementing __import__ for importlib. Now it is much simpler
by Brett Cannon
· 15 years ago
7f9876c
Initial, untested stab at writing a common denominator function for __import__
by Brett Cannon
· 15 years ago
1f9bcd3
Add tests for using sys.path_hooks by importlib.machinery.PathFinder.
by Brett Cannon
· 15 years ago
f7e5a8c
Rename importlib._bootstrap.SysPathFinder to PathFinder and expose off of
by Brett Cannon
· 15 years ago
1d37668
To prevent another screw-up on my part where my prototype gets lost thanks to
by Brett Cannon
· 15 years ago
776e701
Simplify write_bytecode for importlib.
by Brett Cannon
· 15 years ago
ba96f0f
Ditch read_source() and read_bytecode() and replace with *_path() and
by Brett Cannon
· 15 years ago
51c5026
Expose source_path and bytecode_path on _PyFileLoader.
by Brett Cannon
· 15 years ago
223a19d
Fix importlib.machinery.FrozenImporter.load_module() to set __package__
by Brett Cannon
· 15 years ago
78246b6
Document both importlib.machinery.BuiltinImporter and FrozenImporter.
by Brett Cannon
· 15 years ago
5abdc93
Add importlib.machinery with its first tenants, BuitinImporter and
by Brett Cannon
· 15 years ago
b4a1b8c
Fix a typo in some code that is not tested or supported yet.
by Brett Cannon
· 15 years ago
23cbd8a
Add initial implementation of importlib. See the NOTES files for what is
by Brett Cannon
· 16 years ago