41 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
Vinay Sajip 5bdae3bb7c Closes #12291: Fixed bug which was found when doing multiple loads from one stream. 15 years ago
Brett Cannon 186335bd5c Make sure that no __pycache__ directory is needlessly left behind when testing 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 61b14251d3 Make importlib.abc.SourceLoader the primary mechanism for importlib. 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
Barry Warsaw 04b5684d00 Repair test failure. Bug 8727. 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 3d26b95ca7 Merged revisions 76146 via svnmerge from 17 years ago
Brett Cannon e52c919d67 When trying to write new bytecode, importlib was not catching the IOError 17 years ago
Brett Cannon 142d236442 Merged revisions 76113-76114 via svnmerge from 17 years ago
Brett Cannon cfed029c42 Use tempfile.mkdtemp() instead of tempfile.tempdir for where importlib places 17 years ago
Brett Cannon 0ae4511624 importlib.test.source.util referenced variables in the 'finally' part of a 17 years ago
Brett Cannon 2153dc001f Move over to using assertRaises as a context manager for importlib tests. 17 years ago
Georg Brandl ab91fdef1f Merged revisions 73715 via svnmerge from 17 years ago
Brett Cannon 6919427e94 Implement the PEP 302 protocol for get_filename() as 17 years ago
Brett Cannon 10e35b30fb Backport of r74103. 17 years ago
Brett Cannon 3c2738488a Some tests in importlib.test.source.test_abc_loader were testing what happens 17 years ago
Brett Cannon 0a49c58fb0 Update importlib.test.source.test_abc_loader to new features added in Python 3.1. 17 years ago
Benjamin Peterson c9c0f201fe convert old fail* assertions to assert* 17 years ago
Brett Cannon 1262e7c746 Tests for case-senstivity were not being skipped for darwin when installed on a 17 years ago
Brett Cannon 5561982b64 importlib.test.source.test_abc_loader was making a bad assumption that all file 17 years ago
Brett Cannon f86213f6f2 Make a test in importlib have a more robust test value. 17 years ago
Brett Cannon 978259e9b3 Give a more informative message on an importlib test upon failure. 17 years ago
Brett Cannon f87e04d339 Finish properly hiding importlib implementation code. 17 years ago
Brett Cannon d43b30b046 Implement get_source for importlib.abc.PyLoader using source_path and get_data. 17 years ago
Brett Cannon 2a922ed6ad Introduce importlib.abc. The module contains various ABCs related to imports 17 years ago
Brett Cannon f2b55fb5ee Make importlib.test.source.util.write_bytecode reset sys.dont_write_bytecode. 17 years ago
Brett Cannon 91cf882b36 Refactor source and bytecode file loaders in importlib so that there 17 years ago
Brett Cannon 4afab6b30b Separate out finder for source and source/bytecode. 17 years ago
Brett Cannon 2dee597e05 Do some cleanup in importlib: 17 years ago
Brett Cannon 06c9d96b70 Move importlib completely over to using rpartition and accepting the empty 17 years ago
Brett Cannon bcb26c53c0 Rename importlib.test.support to importlib.test.util. 17 years ago
Brett Cannon 4ee2cdaf65 Split out support code that is specific to source tests out of 17 years ago
Brett Cannon 30b047dc35 Move source loader tests (including reload tests) over to 17 years ago
Brett Cannon f254a75176 Merge testing ABCs for importlib into importlib.test.abc. 17 years ago
Brett Cannon 2c5c79cfc4 Tests of case-sensitivity were being executed on OSs which did not have a 17 years ago
Brett Cannon 23cbd8a656 Add initial implementation of importlib. See the NOTES files for what is 17 years ago