commit | 327992330e13cd6663faa8400f9ff46daab828b0 | [log] [tgz] |
---|---|---|
author | Brett Cannon <brett@python.org> | Wed Mar 13 11:09:08 2013 -0700 |
committer | Brett Cannon <brett@python.org> | Wed Mar 13 11:09:08 2013 -0700 |
tree | 922c440ad749973a0d7cef94ffc46eae0ddaa92b | |
parent | 542308eae7a95ae62aa1bc8e8c6c2f8a3695ae34 [diff] |
Issue #17099: Have importlib.find_loader() raise ValueError when __loader__ is not set on a module. This brings the exception in line with when __loader__ is None (which is equivalent to not having the attribute defined).