This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author amaury.forgeotdarc
Recipients Padowan, amaury.forgeotdarc, christian.heimes, python-dev
Date 2013-07-11.13:24:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373549074.13.0.00515337662591.issue18426@psf.upfronthosting.co.za>
In-reply-to
Content
Returning another kind of module can be dangerous here, because extension modules are handled specially (see _PyImport_FixupExtensionObject),
and it's not obvious what this does to normal modules.

But I agree that _imp.load_dynamic() could be extended to plain modules.
A bit like class/type unification.
History
Date User Action Args
2013-07-11 13:24:34amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, christian.heimes, python-dev, Padowan
2013-07-11 13:24:34amaury.forgeotdarcsetmessageid: <1373549074.13.0.00515337662591.issue18426@psf.upfronthosting.co.za>
2013-07-11 13:24:34amaury.forgeotdarclinkissue18426 messages
2013-07-11 13:24:34amaury.forgeotdarccreate