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 brett.cannon
Recipients Trundle, benjamin.peterson, brett.cannon, eric.araujo, eric.snow, ncoghlan, vstinner
Date 2012-02-24.02:18:33
SpamBayes Score 0.00023770018
Marked as misclassified No
Message-id <1330049914.63.0.852123617701.issue2377@psf.upfronthosting.co.za>
In-reply-to
Content
So I finished rewriting _return_module() so that if fromlist is not defined then it's all in C (and subsequently naming the function _handle_fromlist()).

That leaves rewriting in C _calc___package__() and _resolve_name(). After that I don't think there is anything left to do in C for __import__() itself (beyond maybe some reorganizing to avoid stupid things).

After that the only thing I can think of writing in C would be BuiltinImporter (and FrozenImporter if someone truly cared).

And once all that is said and done, that only leaves optimizing the Python code to try to appease the performance gods.
History
Date User Action Args
2012-02-24 02:18:34brett.cannonsetrecipients: + brett.cannon, ncoghlan, vstinner, benjamin.peterson, eric.araujo, Trundle, eric.snow
2012-02-24 02:18:34brett.cannonsetmessageid: <1330049914.63.0.852123617701.issue2377@psf.upfronthosting.co.za>
2012-02-24 02:18:34brett.cannonlinkissue2377 messages
2012-02-24 02:18:33brett.cannoncreate