[Python-Dev] initializing ob_type

Fredrik Lundh fredrik@effbot.org
Sat, 20 Jan 2001 03:41:43 +0100


greg wrote:

> It would be interesting to know more about the actual symptoms that appears
> when the ob_type init is performed by the structure (rather than at runtime).
> What happens?

    http://www.python.org/doc/FAQ.html#3.24
    "3.24. "Initializer not a constant" while building DLL
    on MS-Windows

    "Static type object initializers in extension modules
    may cause compiles to fail with an error message
    like "initializer not a constant"

Cheers /F