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

Mark Hammond MarkH@ActiveState.com
Fri, 19 Jan 2001 12:11:02 -0800


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

My understanding is that the C std doesn't guarantee the order of static
object initialization, whereas C++ does provide these semantics.  At least
that is the excuse I found when digging into this some years ago.

Can't-believe-I-mentioned-the-C-standard-while-Tim-is-listening ly,

Mark.