178 Commits (bbe2f60b3c19ecaa02ca07be14474eaacfcb59a0)

Author SHA1 Message Date
Antoine Pitrou 33d15f7c85 Port import fixes from 2.7. 14 years ago
Antoine Pitrou dd21f68963 Port remaining test fixes, and fix test_importlib too. 14 years ago
Antoine Pitrou 2be60afb7e Issue #11235: Fix OverflowError when trying to import a source file whose modification time doesn't fit in a 32-bit timestamp. 14 years ago
Antoine Pitrou 7c9907e565 Fix no-op tests in importlib. 14 years ago
Meador Inge 416f12ddb3 Issue #13591: import_module potentially imports a module twice. 14 years ago
Vinay Sajip 5bdae3bb7c Closes #12291: Fixed bug which was found when doing multiple loads from one stream. 15 years ago
Victor Stinner 272e24356e Issue #11614: Fix importlib tests for the new __hello__ module 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Raymond Hettinger d958ea70bc Issue 10899: Remove function type annotations from the stdlib 15 years ago
Raymond Hettinger cd92f37582 Issue 10899: Remove function type annotations from the stdlib 15 years ago
Ezio Melotti 19f2aeba67 Merged revisions 86596 via svnmerge from 15 years ago
Ezio Melotti b3aedd4862 #9424: Replace deprecated assert* methods in the Python test suite. 15 years ago
Brett Cannon 0ffe6a9760 Fix a minor inconsistency in capitalization for the 'No module named' exception 15 years ago
Florent Xicluna 764d612f5e Remove redundant context manager. 16 years ago
Brett Cannon a7ceeb335f OSError is the exception raised when one tries to create a directory that 16 years ago
Brett Cannon 1d6569cfb9 Fix a bug where an attribute was lacking an object to work off of. 16 years ago
Brett Cannon ee6d64773b One of the joys of having test_multiprocessing occasionally execute after 16 years ago
Brett Cannon 186335bd5c Make sure that no __pycache__ directory is needlessly left behind when testing 16 years ago
Brett Cannon 8d18907a2e While not strictly necessary thanks to the odd ABC inheritance done through 16 years ago
Brett Cannon 5db0c94072 Add importlib benchmarks which try to be "realistic" by importing the decimal 16 years ago
Brett Cannon cbe1a4e28f Add comma grouping to max result so it's easier to read. 16 years ago
Brett Cannon 3b0a19eaba Add benchmarks for importing just source w/o writing bytecode, importing source 16 years ago
Brett Cannon 7b9bcb8411 Touch up comments and code along with outputting what the unit of measure is. 16 years ago
Brett Cannon 418182e18b Make importlib.abc.SourceLoader the primary mechanism for importlib. 16 years ago
Brett Cannon d71bed3d76 Make importlib.abc.SourceLoader the primary mechanism for importlib. 16 years ago
Brett Cannon 2cf1585499 Fix a spelling mistake in a comment. 16 years ago
Brett Cannon 61b14251d3 Make importlib.abc.SourceLoader the primary mechanism for importlib. 16 years ago
Brett Cannon b7183d8c1f Add an inheritance test for importlib.abc.SourceLoader. 16 years ago
Brett Cannon 0cf9e6a621 Move importlib.abc.SourceLoader to _bootstrap. 16 years ago
Benjamin Peterson 2215c14f03 fix test with more obviously incorrect bytecode 16 years ago
Brett Cannon f23e374441 Implement importlib.abc.SourceLoader and deprecate PyLoader and PyPycLoader. 16 years ago
Brett Cannon c56b094bab Move over to assertIs. 16 years ago
Barry Warsaw 04b5684d00 Repair test failure. Bug 8727. 16 years ago
Barry Warsaw 50ad588c33 Remove unnecessary XXX 16 years ago
Barry Warsaw 28a691b7fd PEP 3147 16 years ago
Brett Cannon 39440b14cd Merged revisions 78242 via svnmerge from 16 years ago
Brett Cannon 9b3e15fbc4 Importlib was not matching import's handling of .pyc files where it had less 16 years ago
Brett Cannon b89ee8eae8 Clarify importlib.abc.PyPycLoader.write_bytecode(). 16 years ago
Benjamin Peterson b4b929ec86 no need to translate newlines in python code anymore 16 years ago
Brett Cannon 3d26b95ca7 Merged revisions 76146 via svnmerge from 16 years ago
Brett Cannon e52c919d67 When trying to write new bytecode, importlib was not catching the IOError 16 years ago
Brett Cannon 142d236442 Merged revisions 76113-76114 via svnmerge from 16 years ago
Brett Cannon cfed029c42 Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places 16 years ago
Brett Cannon 0ae4511624 importlib.test.source.util referenced variables in the 'finally' part of a 16 years ago
Brett Cannon 23cf5743ae Rework importlib benchmarks so that they measure number of executions within a 17 years ago
Brett Cannon d95863f6f3 Clarify why test_import is failing under importlib. 17 years ago
Brett Cannon 1c1dcbfd5d Trying to import a submodule from another module and not a package was raising 17 years ago
Brett Cannon 82a23fe392 test_pep3120 is no longer a problem for importlib as the test was tweaked. 17 years ago
Brett Cannon de4ebfe559 When the globals argument to importlib.__import__() contained any value for 17 years ago
Brett Cannon ce7d4cbc3b Turn on verbose2 for importlib.test.regrtest so as to see failures when they occur. 17 years ago