Message200234
| Author |
skrah |
| Recipients |
Arfrever, larry, lemburg, mark.dickinson, rhettinger, skrah |
| Date |
2013年10月18日.09:39:55 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<20131018093956.GA8774@sleipnir.bytereef.org> |
| In-reply-to |
<52604D2E.4080806@egenix.com> |
| Content |
I believe you, but I'd like to understand why. :)
It seems to me that a module and also PyInit_xxx() can be loaded portably.
Say the handles to the module are cached somewhere after loading and
initializing. I think this already happens in Python/dynload_shlib.c.
Why can't another module use a slightly modified form of _PyImport_GetDynLoadFunc()
to get any non-static function apart from PyInit_xxx() by re-using the cached
handle? |
|