2012/2/19 Stefan Behnel <stefan...@behnel.de>

> That's different for PyComplexObject, which allows direct unboxed access to
> the real and imaginary number fields. Cython makes use of that for
> interfacing between C/C++ complex and Python complex.
>

Why don't you use PyComplex_AsCComplex or other similar API for this?

-- 
Amaury Forgeot d'Arc
_______________________________________________
pypy-dev mailing list
pypy-dev@python.org
http://mail.python.org/mailman/listinfo/pypy-dev

Reply via email to