Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
e8d252dbcbafc0113c0b9bf6b13a72af5f0ee848
/
Lib
/
importlib
5db0c94
Add importlib benchmarks which try to be "realistic" by importing the decimal
by Brett Cannon
· 14 years ago
cbe1a4e
Add comma grouping to max result so it's easier to read.
by Brett Cannon
· 14 years ago
3b0a19e
Add benchmarks for importing just source w/o writing bytecode, importing source
by Brett Cannon
· 14 years ago
7b9bcb8
Touch up comments and code along with outputting what the unit of measure is.
by Brett Cannon
· 14 years ago
418182e
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
d71bed3
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
2cf1585
Fix a spelling mistake in a comment.
by Brett Cannon
· 14 years ago
61b1425
Make importlib.abc.SourceLoader the primary mechanism for importlib.
by Brett Cannon
· 14 years ago
b7183d8
Add an inheritance test for importlib.abc.SourceLoader.
by Brett Cannon
· 14 years ago
0cf9e6a
Move importlib.abc.SourceLoader to _bootstrap.
by Brett Cannon
· 14 years ago
2215c14
fix test with more obviously incorrect bytecode
by Benjamin Peterson
· 14 years ago
f23e374
Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader.
by Brett Cannon
· 14 years ago
c56b094
Move over to assertIs.
by Brett Cannon
· 14 years ago
04b5684
Repair test failure. Bug 8727.
by Barry Warsaw
· 14 years ago
50ad588
Remove unnecessary XXX
by Barry Warsaw
· 14 years ago
28a691b
PEP 3147
by Barry Warsaw
· 14 years ago
9b3e15f
Importlib was not matching import's handling of .pyc files where it had less
by Brett Cannon
· 14 years ago
b89ee8e
Clarify importlib.abc.PyPycLoader.write_bytecode().
by Brett Cannon
· 15 years ago
b4b929e
no need to translate newlines in python code anymore
by Benjamin Peterson
· 15 years ago
e52c919
When trying to write new bytecode, importlib was not catching the IOError
by Brett Cannon
· 15 years ago
cfed029
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
by Brett Cannon
· 15 years ago
0ae4511
importlib.test.source.util referenced variables in the 'finally' part of a
by Brett Cannon
· 15 years ago
23cf574
Rework importlib benchmarks so that they measure number of executions within a
by Brett Cannon
· 15 years ago
d95863f
Clarify why test_import is failing under importlib.
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
82a23fe
test_pep3120 is no longer a problem for importlib as the test was tweaked.
by Brett Cannon
· 15 years ago
de4ebfe
When the globals argument to importlib.__import__() contained any value for
by Brett Cannon
· 15 years ago
ce7d4cb
Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur.
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
44b28a9
Fix the importlib_only test decorator to work again; don't capture the flag variable as it might change later.
by Brett Cannon
· 15 years ago
a650360
Use the public API, not a private one.
by Brett Cannon
· 15 years ago
9e0e1a6
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
by Brett Cannon
· 15 years ago
12c3fc9
Provide module docstrings for the two main test drivers in importlib that
by Brett Cannon
· 15 years ago
6cc8310
Tweak importlib.test.regrtest to only specify the implicit tests to exclude
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
5e129db
Add a test file to importlib that runs regrtest using importlib.__import__.
by Brett Cannon
· 15 years ago
5c26eaa
Add support for a --builtin argument to importlib.test to trigger running
by Brett Cannon
· 15 years ago
2153dc0
Move over to using assertRaises as a context manager for importlib tests.
by Brett Cannon
· 15 years ago
c5951fc
Make __package__ setting tests specific to importlib. Also move to assertRaises context manager.
by Brett Cannon
· 15 years ago
6d2bb7f
Move a test-skipping decorator over to unittest.skipIf.
by Brett Cannon
· 15 years ago
6919427
Implement the PEP 302 protocol for get_filename() as
by Brett Cannon
· 15 years ago
64ef00f
Importlib's documentation said that importlib.abc.PyLoader inherited from
by Brett Cannon
· 15 years ago
4dc3193
Remove custom test-skipping code in importlib tests for unittest code.
by Brett Cannon
· 15 years ago
3c27384
Some tests in importlib.test.source.test_abc_loader were testing what happens
by Brett Cannon
· 15 years ago
0a49c58
Update importlib.test.source.test_abc_loader to new features added in Python 3.1.
by Brett Cannon
· 15 years ago
b49c70c
Importlib was using custom code to discover all test modules in importlib.test.
by Brett Cannon
· 15 years ago
9b2611e
Remove unused import for function that no longer exists.
by R. David Murray
· 15 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 15 years ago
554290d
Fixup/simplify another nested context manager.
by Raymond Hettinger
· 15 years ago
1262e7c
Tests for case-senstivity were not being skipped for darwin when installed on a
by Brett Cannon
· 15 years ago
3c33b83
fix name again
by Benjamin Peterson
· 15 years ago
3e0c917
fix name
by Benjamin Peterson
· 15 years ago
309633d
fix naming
by Benjamin Peterson
· 15 years ago
8d55a9e
os.path.listdir -> os.listdir
by Benjamin Peterson
· 15 years ago
5561982
importlib.test.source.test_abc_loader was making a bad assumption that all file
by Brett Cannon
· 15 years ago
f86213f
Make a test in importlib have a more robust test value.
by Brett Cannon
· 15 years ago
978259e
Give a more informative message on an importlib test upon failure.
by Brett Cannon
· 15 years ago
a3d056e
Check that on a platform that is expected to have a case-insensitive filesystem
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
6ae7a7d
Add simple tests for __import__ for future optimizations to importlib.
by Brett Cannon
· 15 years ago
e43b060
Document import's semantics for the language reference. This includes filling
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
9495f18
Define importlib.__init__.__all__.
by Brett Cannon
· 15 years ago
c59cd68
Add a NOTE for importlib to fill in the docstrings for the ABCs.
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
e2085be
Clean up importlib NOTES so it only contains short term goals.
by Brett Cannon
· 15 years ago
2a922ed
Introduce importlib.abc. The module contains various ABCs related to imports
by Brett Cannon
· 15 years ago
ba3fcf1
Remove a dead XXX comment.
by Brett Cannon
· 15 years ago
29dff8a
Fix importlib._bootstrap.PyPycLoader.load_module() to better handle
by Brett Cannon
· 15 years ago
f2b55fb
Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode.
by Brett Cannon
· 15 years ago
1014d42
Minor changes to Python source base loader.
by Brett Cannon
· 15 years ago
79925fd
Skip case-sensitivity tests for extension modules if _testcapi cannot be found.
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
b5f03c6
Add a test for importlib.import_module.
by Brett Cannon
· 15 years ago
4fa88fa
merge the io-c branch: C implementation of the io module
by Benjamin Peterson
· 15 years ago
57b46f5
Expose importlib.util.set___package__.
by Brett Cannon
· 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
a2fcb1d
Add some notes about importlib and some API exposure cleanup.
by Brett Cannon
· 15 years ago
22db67e
Minor NOTES changes for importlib.
by Brett Cannon
· 15 years ago
33dbf46
Outline a possible way to separate out source loading from bytecode loading.
by Brett Cannon
· 16 years ago
d2e7b33
Implement the more specific PEP 302 semantics for loaders and what happens upon
by Brett Cannon
· 16 years ago
debb98d
Document importlib.machinery.PathFinder.
by Brett Cannon
· 16 years ago
32732e3
Change importlib.machinery.PathFinder to not have implicit semantics (that's
by Brett Cannon
· 16 years ago
4b4a4a5
Add a NOTE about the new specific semantics for failed loads.
by Brett Cannon
· 16 years ago
c1761b7
Add a NOTE that alternative VMs should be supported by importlib in a nicer
by Brett Cannon
· 16 years ago
7bf8d4e
Add the missing importlib.test.extension.util.
by Brett Cannon
· 16 years ago
Next »