58 Commits (6dbca367dceda3999979bdc3cdcfdb201f40d044)

Author SHA1 Message Date
Brett Cannon 2657df4744 Issue #13959: Re-implement imp.get_suffixes() in Lib/imp.py. 14 years ago
Marc-Andre Lemburg 4fe29c9657 Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader. 14 years ago
Marc-Andre Lemburg ac8805a01a Issue #14605: Revert renaming of _SourcelessFileLoader, since it caused 14 years ago
Marc-Andre Lemburg 2945e78b05 Issue #14605: Rename _SourcelessFileLoader to SourcelessFileLoader 14 years ago
Brett Cannon 938d44d59c Issue #14605: Expose importlib.abc.FileLoader and 14 years ago
Brett Cannon fd0741555b Issue #2377: Make importlib the implementation of __import__(). 14 years ago
Brett Cannon bbb6680ee5 Have importlib take advantage of ImportError's new 'name' and 'path' 14 years ago
Brett Cannon b46a1793a7 Update importlib.invalidate_caches() to be more general. 14 years ago
Brett Cannon 01ad3251ae Issue #13890: Fix importlib case-sensitivity tests to not run on Windows. 14 years ago
Brett Cannon c264e3ee20 Move some code from importlib.__init__ to importlib._bootstrap that 14 years ago
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
Benjamin Peterson 6f5b6d7e8f kill useless import added by 87331661042b 14 years ago
Antoine Pitrou 7c9907e565 Fix no-op tests in importlib. 14 years ago
Antoine Pitrou 5136ac0ca2 Issue #13645: pyc files now contain the size of the corresponding source 14 years ago
Florent Xicluna 67317750af Issue #13248: turn 3.2's PendingDeprecationWarning into 3.3's DeprecationWarning (cgi, importlib, nntplib, smtpd). 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