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 scoder
Recipients benjamin.peterson, brett.cannon, eric.snow, scoder
Date 2012-04-16.18:42:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1334601771.71.0.14731589232.issue14592@psf.upfronthosting.co.za>
In-reply-to
Content
It turns out that it wasn't all that hard to work around. Calling __import__ twice seems to do the trick. It's more overhead, but if people want speed, they can just be explicit about what kind of import they actually mean.

So I wouldn't mind considering this an accidental left-over, and given that this behaviour has officially been removed for source code imports in 3.0 and taken out of documentation since then, it should be enough to consider its (partial) support in __import__ a bug and document it as being fixed in 3.3.
History
Date User Action Args
2012-04-16 18:42:51scodersetrecipients: + scoder, brett.cannon, benjamin.peterson, eric.snow
2012-04-16 18:42:51scodersetmessageid: <1334601771.71.0.14731589232.issue14592@psf.upfronthosting.co.za>
2012-04-16 18:42:51scoderlinkissue14592 messages
2012-04-16 18:42:51scodercreate