<div class="gmail_quote">2012/2/19 Stefan Behnel <span dir="ltr"><<a href="mailto:stefan_ml@behnel.de">stefan_ml@behnel.de</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":5g2">That's different for PyComplexObject, which allows direct unboxed access to<br>
the real and imaginary number fields. Cython makes use of that for<br>
interfacing between C/C++ complex and Python complex.</div></blockquote></div><br>Why don't you use PyComplex_AsCComplex or other similar API for this?<div><div><div><div><div><br></div>-- <br>Amaury Forgeot d'Arc<br>
</div></div></div></div>