[py-dev] Greenlets

holger krekel hpk at trillke.net
Fri Dec 17 02:47:55 CET 2004


[Florian Schulze Thu, Dec 16, 2004 at 06:58:54PM +0100]
> Hi!
> 
> I just saw that greenlets where imported into py and I wanted to try them 
> out. Unfortunately they don't compile on windows, the offending line is 
> #536:
> PyObject_HEAD_INIT(&PyType_Type)
> greenlet.c(536) : error C2099: Initialisierung ist keine Konstante
> roughly translated:
> greenlet.c(536) : error C2099: Initializer is not constant
> I looked into other extension modules and there all those lines read like 
> this:
> PyObject_HEAD_INIT(NULL)
> 
> It compiled with that line, but it crashes after the greenlets ran through.

Does installing distutils-based C-coded packages usually work for you? 
 
> It's an really interesting idea though.

Greenlets or integrating C-modules on the fly or both? :-) 

> ps: Are Armin Rigo and Christian Tismer on this list?

Armin yes, but not christian i think.

cheers, 

    holger



More information about the Pytest-dev mailing list