Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
7b0d4a238f2a69747ed570f8bfb51fb31315eba9
/
Lib
/
importlib
b4b929e
no need to translate newlines in python code anymore
by Benjamin Peterson
· 16 years ago
e52c919
When trying to write new bytecode, importlib was not catching the IOError
by Brett Cannon
· 16 years ago
cfed029
Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places
by Brett Cannon
· 16 years ago
0ae4511
importlib.test.source.util referenced variables in the 'finally' part of a
by Brett Cannon
· 16 years ago
23cf574
Rework importlib benchmarks so that they measure number of executions within a
by Brett Cannon
· 16 years ago
d95863f
Clarify why test_import is failing under importlib.
by Brett Cannon
· 16 years ago
1c1dcbf
Trying to import a submodule from another module and not a package was raising
by Brett Cannon
· 16 years ago
82a23fe
test_pep3120 is no longer a problem for importlib as the test was tweaked.
by Brett Cannon
· 16 years ago
de4ebfe
When the globals argument to importlib.__import__() contained any value for
by Brett Cannon
· 16 years ago
ce7d4cb
Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur.
by Brett Cannon
· 16 years ago
6afbaef
Raise TypeError if the name given to importlib.__import__() lacks an rpartition
by Brett Cannon
· 16 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
· 16 years ago
a650360
Use the public API, not a private one.
by Brett Cannon
· 16 years ago
9e0e1a6
Allow importlib.__import__ to accept any iterable for fromlist. Discovered when
by Brett Cannon
· 16 years ago
12c3fc9
Provide module docstrings for the two main test drivers in importlib that
by Brett Cannon
· 16 years ago
6cc8310
Tweak importlib.test.regrtest to only specify the implicit tests to exclude
by Brett Cannon
· 16 years ago
4d75fc1
Have importlib raise ImportError if None is found in sys.modules. This matches
by Brett Cannon
· 16 years ago
5e129db
Add a test file to importlib that runs regrtest using importlib.__import__.
by Brett Cannon
· 16 years ago
5c26eaa
Add support for a --builtin argument to importlib.test to trigger running
by Brett Cannon
· 16 years ago
2153dc0
Move over to using assertRaises as a context manager for importlib tests.
by Brett Cannon
· 16 years ago
c5951fc
Make __package__ setting tests specific to importlib. Also move to assertRaises context manager.
by Brett Cannon
· 16 years ago
6d2bb7f
Move a test-skipping decorator over to unittest.skipIf.
by Brett Cannon
· 16 years ago
6919427
Implement the PEP 302 protocol for get_filename() as
by Brett Cannon
· 16 years ago
64ef00f
Importlib's documentation said that importlib.abc.PyLoader inherited from
by Brett Cannon
· 16 years ago
4dc3193
Remove custom test-skipping code in importlib tests for unittest code.
by Brett Cannon
· 16 years ago
3c27384
Some tests in importlib.test.source.test_abc_loader were testing what happens
by Brett Cannon
· 16 years ago
0a49c58
Update importlib.test.source.test_abc_loader to new features added in Python 3.1.
by Brett Cannon
· 16 years ago
b49c70c
Importlib was using custom code to discover all test modules in importlib.test.
by Brett Cannon
· 16 years ago
9b2611e
Remove unused import for function that no longer exists.
by R. David Murray
· 16 years ago
c9c0f20
convert old fail* assertions to assert*
by Benjamin Peterson
· 16 years ago
554290d
Fixup/simplify another nested context manager.
by Raymond Hettinger
· 16 years ago
1262e7c
Tests for case-senstivity were not being skipped for darwin when installed on a
by Brett Cannon
· 16 years ago
3c33b83
fix name again
by Benjamin Peterson
· 16 years ago
3e0c917
fix name
by Benjamin Peterson
· 16 years ago
309633d
fix naming
by Benjamin Peterson
· 16 years ago
8d55a9e
os.path.listdir -> os.listdir
by Benjamin Peterson
· 16 years ago
5561982
importlib.test.source.test_abc_loader was making a bad assumption that all file
by Brett Cannon
· 16 years ago
f86213f
Make a test in importlib have a more robust test value.
by Brett Cannon
· 16 years ago
978259e
Give a more informative message on an importlib test upon failure.
by Brett Cannon
· 16 years ago
a3d056e
Check that on a platform that is expected to have a case-insensitive filesystem
by Brett Cannon
· 16 years ago
12e533d
Rip out a useless method that the superclass implements properly.
by Brett Cannon
· 16 years ago
8593a75
Fix importlib.machinery.PathFinder.find_module() to essentially skip over None
by Brett Cannon
· 16 years ago
6ae7a7d
Add simple tests for __import__ for future optimizations to importlib.
by Brett Cannon
· 16 years ago
e43b060
Document import's semantics for the language reference. This includes filling
by Brett Cannon
· 16 years ago
8d11013
Implement InspectLoader for FrozenImporter.
by Brett Cannon
· 16 years ago
a113ac5
Implement InspectLoader for BuiltinImporter.
by Brett Cannon
· 16 years ago
7aa21f7
A few more docstring/API cleanups for importlib.
by Brett Cannon
· 16 years ago
0e0d8a6
Clean up docstring from importlib.util.module_for_loader.
by Brett Cannon
· 16 years ago
f87e04d
Finish properly hiding importlib implementation code.
by Brett Cannon
· 16 years ago
e9103d2
Last big re-organization of importlib._bootstrap. Should actually be able to find something in the file now.
by Brett Cannon
· 16 years ago
ce43ddf
Do a little bit of reorganization on importlib._bootstrap.
by Brett Cannon
· 16 years ago
3eeaa0a
Make utility code in importlib._bootstrap private.
by Brett Cannon
· 16 years ago
9495f18
Define importlib.__init__.__all__.
by Brett Cannon
· 16 years ago
c59cd68
Add a NOTE for importlib to fill in the docstrings for the ABCs.
by Brett Cannon
· 16 years ago
2cf03a8
Implement importlib.util.set_loader: a decorator to automatically set
by Brett Cannon
· 16 years ago
d43b30b
Implement get_source for importlib.abc.PyLoader using source_path and get_data.
by Brett Cannon
· 16 years ago
e2085be
Clean up importlib NOTES so it only contains short term goals.
by Brett Cannon
· 16 years ago
2a922ed
Introduce importlib.abc. The module contains various ABCs related to imports
by Brett Cannon
· 16 years ago
ba3fcf1
Remove a dead XXX comment.
by Brett Cannon
· 16 years ago
29dff8a
Fix importlib._bootstrap.PyPycLoader.load_module() to better handle
by Brett Cannon
· 16 years ago
f2b55fb
Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode.
by Brett Cannon
· 16 years ago
1014d42
Minor changes to Python source base loader.
by Brett Cannon
· 16 years ago
79925fd
Skip case-sensitivity tests for extension modules if _testcapi cannot be found.
by Brett Cannon
· 16 years ago
435aad8
Rename importlib.util.set___package__ to set_package.
by Brett Cannon
· 16 years ago
7c9875c
Move importlib over to _io.
by Brett Cannon
· 16 years ago
b5f03c6
Add a test for importlib.import_module.
by Brett Cannon
· 16 years ago
4fa88fa
merge the io-c branch: C implementation of the io module
by Benjamin Peterson
· 16 years ago
57b46f5
Expose importlib.util.set___package__.
by Brett Cannon
· 16 years ago
94aaf9e
Relocate source_mtime in importlib to PyPycLoader.
by Brett Cannon
· 16 years ago
91cf882
Refactor source and bytecode file loaders in importlib so that there
by Brett Cannon
· 16 years ago
0515619
Tweak the source/bytecode loader from importlib to use more of the PEP 302
by Brett Cannon
· 16 years ago
4afab6b
Separate out finder for source and source/bytecode.
by Brett Cannon
· 16 years ago
2dee597
Do some cleanup in importlib:
by Brett Cannon
· 16 years ago
a2fcb1d
Add some notes about importlib and some API exposure cleanup.
by Brett Cannon
· 16 years ago
22db67e
Minor NOTES changes for importlib.
by Brett Cannon
· 16 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
· 17 years ago
7bf8d4e
Add the missing importlib.test.extension.util.
by Brett Cannon
· 17 years ago
b2071f8
Update NOTES for importlib now that a replacement for functools.wraps is
by Brett Cannon
· 17 years ago
51d8bfc
Create a simple substitute for functools.wraps to use in importlib._bootstrap.
by Brett Cannon
· 17 years ago
534b2cd
Factor out helper code from importlib.test.extension.test_path_hook.
by Brett Cannon
· 17 years ago
36d1f3e
Add a note for importlib about backporting some of functools.wraps functionality.
by Brett Cannon
· 17 years ago
06c9d96
Move importlib completely over to using rpartition and accepting the empty
by Brett Cannon
· 17 years ago
d94e558
Move importlib's built-in importer to use rpartition for __package__.
by Brett Cannon
· 17 years ago
eb2e0dd
Move importlib's frozen importer over to rpartition for setting __package__.
by Brett Cannon
· 17 years ago
2c318a1
Rewrite the code implementing __import__ for importlib. Now it is much simpler
by Brett Cannon
· 17 years ago
7f9876c
Initial, untested stab at writing a common denominator function for __import__
by Brett Cannon
· 17 years ago
6411aa5
Finish implementing tests for importlib.machinery.PathFinder by testing that
by Brett Cannon
· 17 years ago
1f9bcd3
Add tests for using sys.path_hooks by importlib.machinery.PathFinder.
by Brett Cannon
· 17 years ago
48f5c4ee
Implement test for sys.path_importer_cache having None for
by Brett Cannon
· 17 years ago
64a3a65
Update NOTES for importlib about PathFinder.
by Brett Cannon
· 17 years ago
939ea76
Begin writing tests for importlib.machinery.PathFinder.
by Brett Cannon
· 17 years ago
fa3d1fc
Check in the fact that importlib.machinery.PathFinder now exists.
by Brett Cannon
· 17 years ago
f7e5a8c
Rename importlib._bootstrap.SysPathFinder to PathFinder and expose off of
by Brett Cannon
· 17 years ago
438cecd
Add some notes for importlib to package up what is in Python 2.7 as well as modules that can probably get replaced by importlib at some point.
by Brett Cannon
· 17 years ago
1d37668
To prevent another screw-up on my part where my prototype gets lost thanks to
by Brett Cannon
· 17 years ago
Next »