Message154106
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. |
|
Date |
User |
Action |
Args |
2012-02-24 02:18:34 | brett.cannon | set | recipients:
+ brett.cannon, ncoghlan, vstinner, benjamin.peterson, eric.araujo, Trundle, eric.snow |
2012-02-24 02:18:34 | brett.cannon | set | messageid: <1330049914.63.0.852123617701.issue2377@psf.upfronthosting.co.za> |
2012-02-24 02:18:34 | brett.cannon | link | issue2377 messages |
2012-02-24 02:18:33 | brett.cannon | create | |
|