[Python-Dev] initializing ob_type (was: CVS: python/dist/src/Modules _cursesmodule.c,2.46,2.47)

Fredrik Lundh fredrik@effbot.org
Fri, 19 Jan 2001 11:19:06 +0100

greg wrote:
> I've never truly understood this. Is it because Windows cannot initialize
> (at load-time) a pointer to a data structure that is located in a different
> DLL?

Windows can do it (via DLL initialization code), but the compiler
doesn't generate initialization code for C programs.

you can compile the module as C++, but that's also a bit painful...