[IronPython] Cannot import module from .dll directly
Jeff Hardy
jdhardy at gmail.com
Wed May 19 16:38:43 CEST 2010
On Tue, May 18, 2010 at 5:31 PM, Dino Viehland <dinov at microsoft.com> wrote:
> What if we required the extension to be named "_foo.ipyd" or "_foo.ipe"
> or something along those lines which would be similar to CPython's
> .pyd extension? That way we wouldn't be querying random DLLs that
> might or might not load and might have unexpected side effects.
Apparently CPython will only load .pyd and not .dll as of 2.5 (which I
just discovered), so it sounds like that is the way to go. I vote for
.ipyd.
Unfortunately there doesn't seem to be any way to change the extension
of a class library from .dll (other than a post-build step), so you
should go bug the VS team about that :)
- Jeff
More information about the Ironpython-users
mailing list