消息 [200234]
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? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2013-10-18 09:39:56 | skrah | 修改 | recipients:
+ skrah, lemburg, rhettinger, mark.dickinson, larry, Arfrever |
| 2013-10-18 09:39:56 | skrah | 链接 | issue15237 messages |
| 2013-10-18 09:39:55 | skrah | 创建 | |
|