Skip to content
This repository has been archived by the owner on Sep 14, 2018. It is now read-only.

imp not exhibiting same behavior as import #1166

Open
redec69 opened this issue Feb 18, 2015 · 0 comments
Open

imp not exhibiting same behavior as import #1166

redec69 opened this issue Feb 18, 2015 · 0 comments

Comments

@redec69
Copy link

redec69 commented Feb 18, 2015

'imp.find_module()' can not find .NET assemblies, but 'import' finds them just fine. The documentation states that imp is an interface to the internal implementation of import, so one would expect them to have the same behavior, but they don't.

To clarify, this works perfectly:
import System

while this raises an ImportError:
imp.find_module('System')

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants