]> granicus.if.org Git - python/commit
Minor changes to Python source base loader.
authorBrett Cannon <bcannon@gmail.com>
Sun, 8 Mar 2009 20:53:50 +0000 (20:53 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 8 Mar 2009 20:53:50 +0000 (20:53 +0000)
commit1014d42dd314844c12bddee0d075521da965c60a
treea51ae26ee305469d361ab26b02fc59a0f973f2e9
parent79925fdbfe42350d84a2bd938b2bccc1a48a2f0e
Minor changes to Python source base loader.

Fixed a bug where 'self' was left off a method call. Was masked by the fact the
source/bytecode loader subclass is always used. Cleaned up when the source path
is fetched. Also made sure ImportError is raised when a source path cannot be
found.
Lib/importlib/_bootstrap.py