On Sun, Jul 09, 2000 at 08:49:26PM -0500, Guido van Rossum wrote: > > Guido van Rossum wrote: > > > > > > ... > > > Nice idea... Unfortunately it means that every module must be > > > changed. If we want to do this, we'd best introduce a macro! > > > E.g. (untested): > > > > > > #define Py_INIT(modname) DL_EXPORT(void) init20##modname() > > Paul Prescod replies: > > > Why is it that the init function names has to change for each module? > > Why not PyModuleMain or something? > > Because Python supports a configuration time option to link modules > statically. Not to mention that the .so is loaded into the process' address space. I don't think that you can have two symbols in the space with the same name. But hey... even if you can: the static link option Guido mentions is definitely the kicker. Cheers, -g -- Greg Stein, http://www.lyra.org/
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4