[Python-Dev] Preventing 1.5 extensions crashing under 1.6/2.0 Python

Paul Prescod paul@prescod.net
Sun, 09 Jul 2000 17:38:24 -0500


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()

Why is it that the init function names has to change for each module?
Why not PyModuleMain or something?

-- 
 Paul Prescod - Not encumbered by corporate consensus
"Computer Associates is expected to come in with better than expected 
earnings." Bob O'Brien, quoted in
	- http://www.fool.com/news/2000/foth000316.htm