Python 1.5.2/2.0 C extension type differences

Fredrik Lundh fredrik at effbot.org
Sat Jan 13 12:49:37 EST 2001


Rolf Stadheim also forgot to look in the FAQ:
> error C2099: initializer is not a constant,
>
> Any comments/hints/help greatly appreciated!!!!

it's a compiler/platform specific problem.  see FAQ entry 3.24
for an explanation and two possible work-arounds:

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

Cheers /F





More information about the Python-list mailing list