186 Commits (261ccdce4825535d4f6ea4bf09e9394bb751df20)

Author SHA1 Message Date
Charles-François Natali e695eec24a Issue #13303: Fix a race condition in the bytecode file creation. 14 years ago
Florent Xicluna 68f71a34f4 Simplify and remove few dependencies on 'errno', thanks to PEP 3151. 14 years ago
Antoine Pitrou daaaec9ee7 Silence the FileExistsError which can be raised because of the O_EXCL flag 15 years ago
Antoine Pitrou 707033a694 Issue #13146: Writing a pyc file is now atomic under POSIX. 15 years ago
Vinay Sajip 5bdae3bb7c Closes #12291: Fixed bug which was found when doing multiple loads from one stream. 15 years ago
Éric Araujo ef3062f7af Kill dead code in importlib.test.__main__ (#12019, reviewed by Brett Cannon) 15 years ago
Victor Stinner 272e24356e Issue #11614: Fix importlib tests for the new __hello__ module 15 years ago
Brett Cannon 5d43cff623 Remove a stale comment. 15 years ago
Brett Cannon 442c9b92d8 Make importlib compatible with __import__ by "fixing" code.co_filename 15 years ago
Brett Cannon a7468bc5c6 Have importlib use the repr of a module name in error messages. 15 years ago
Ezio Melotti 42da663e6f #11515: fix several typos. Patch by Piotr Kasprzyk. 15 years ago
Eric V. Smith 91f0359ee4 Skip test if zlib not present. Closes #11498. Patch by Natalia B. Bidart. 15 years ago
Eric V. Smith 4169826a00 Typos. 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