summaryrefslogtreecommitdiff
path: root/Lib/importlib
AgeCommit message (Expand)AuthorLines
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-23/+23
2010-11-18Fix a minor inconsistency in capitalization for the 'No module named' exceptionBrett Cannon-3/+5
2010-09-03Remove redundant context manager.Florent Xicluna-15/+1
2010-08-26OSError is the exception raised when one tries to create a directory thatBrett Cannon-2/+5
2010-08-24Fix a bug where an attribute was lacking an object to work off of.Brett Cannon-1/+1
2010-08-22One of the joys of having test_multiprocessing occasionally execute afterBrett Cannon-18/+26
2010-08-22Make sure that no __pycache__ directory is needlessly left behind when testingBrett Cannon-7/+10
2010-08-22While not strictly necessary thanks to the odd ABC inheritance done throughBrett Cannon-0/+14
2010-07-22Add importlib benchmarks which try to be "realistic" by importing the decimalBrett Cannon-7/+50
2010-07-16Add comma grouping to max result so it's easier to read.Brett Cannon-1/+1
2010-07-16Add benchmarks for importing just source w/o writing bytecode, importing sourceBrett Cannon-14/+57
2010-07-15Touch up comments and code along with outputting what the unit of measure is.Brett Cannon-7/+10
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-27/+38
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-1/+32
2010-07-03Fix a spelling mistake in a comment.Brett Cannon-1/+1
2010-07-03Make importlib.abc.SourceLoader the primary mechanism for importlib.Brett Cannon-539/+405
2010-06-28Add an inheritance test for importlib.abc.SourceLoader.Brett Cannon-0/+5
2010-06-28Move importlib.abc.SourceLoader to _bootstrap.Brett Cannon-105/+141
2010-06-28fix test with more obviously incorrect bytecodeBenjamin Peterson-1/+1
2010-06-27Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader.Brett Cannon-16/+654
2010-06-21Move over to assertIs.Brett Cannon-2/+2
2010-05-18Repair test failure. Bug 8727.Barry Warsaw-2/+13
2010-04-17Remove unnecessary XXXBarry Warsaw-1/+0
2010-04-17PEP 3147Barry Warsaw-16/+56
2010-02-19Importlib was not matching import's handling of .pyc files where it had lessBrett Cannon-29/+109
2009-12-12Clarify importlib.abc.PyPycLoader.write_bytecode().Brett Cannon-2/+3
2009-11-13no need to translate newlines in python code anymoreBenjamin Peterson-15/+0
2009-11-07When trying to write new bytecode, importlib was not catching the IOErrorBrett Cannon-2/+28
2009-11-05Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib placesBrett Cannon-11/+4
2009-11-05importlib.test.source.util referenced variables in the 'finally' part of aBrett Cannon-2/+6
2009-09-03Rework importlib benchmarks so that they measure number of executions within aBrett Cannon-51/+52
2009-08-30Clarify why test_import is failing under importlib.Brett Cannon-2/+3
2009-08-30Trying to import a submodule from another module and not a package was raisingBrett Cannon-4/+11
2009-08-30test_pep3120 is no longer a problem for importlib as the test was tweaked.Brett Cannon-1/+0
2009-08-30When the globals argument to importlib.__import__() contained any value forBrett Cannon-11/+17
2009-08-30Turn on verbose2 for importlib.test.regrtest so as to see failures when they ...Brett Cannon-2/+1
2009-08-30Raise TypeError if the name given to importlib.__import__() lacks an rpartitionBrett Cannon-1/+24
2009-08-30Fix the importlib_only test decorator to work again; don't capture the flag v...Brett Cannon-1/+3
2009-08-30Use the public API, not a private one.Brett Cannon-1/+1
2009-08-30Allow importlib.__import__ to accept any iterable for fromlist. Discovered whenBrett Cannon-2/+10
2009-08-30Provide module docstrings for the two main test drivers in importlib thatBrett Cannon-2/+11
2009-08-30Tweak importlib.test.regrtest to only specify the implicit tests to excludeBrett Cannon-4/+6
2009-08-30Have importlib raise ImportError if None is found in sys.modules. This matchesBrett Cannon-5/+20
2009-08-27Add a test file to importlib that runs regrtest using importlib.__import__.Brett Cannon-0/+33
2009-08-27Add support for a --builtin argument to importlib.test to trigger runningBrett Cannon-0/+5
2009-08-27Move over to using assertRaises as a context manager for importlib tests.Brett Cannon-24/+36
2009-08-27Make __package__ setting tests specific to importlib. Also move to assertRais...Brett Cannon-4/+5
2009-08-27Move a test-skipping decorator over to unittest.skipIf.Brett Cannon-10/+3
2009-07-20Implement the PEP 302 protocol for get_filename() asBrett Cannon-22/+95
2009-07-20Importlib's documentation said that importlib.abc.PyLoader inherited fromBrett Cannon-15/+62