]> granicus.if.org Git - python/commit
Importlib was not matching import's handling of .pyc files where it had less
authorBrett Cannon <bcannon@gmail.com>
Fri, 19 Feb 2010 16:01:06 +0000 (16:01 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 19 Feb 2010 16:01:06 +0000 (16:01 +0000)
commit9b3e15fbc4842e6efbd1d16ead782e753a731a53
tree2ab7477f7cc6bb1ac42315c19757c485dfcbe5d5
parent055470a2279e34f7652f50fc7e549b3ec0ce5ce6
Importlib was not matching import's handling of .pyc files where it had less
then 8 bytes total in the file.

Fixes issues 7361 & 7875.
Lib/importlib/_bootstrap.py
Lib/importlib/test/source/test_file_loader.py