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?