Romain Guillebert <[email protected]> added the comment:

216         # no '__complex__' method, so we assume it is a float,
217         # unless it is an instance of some subclass of complex.
218         if isinstance(w_complex, W_ComplexObject):
219             return (w_complex.realval, w_complex.imagval)

This is the place that should handle the complex128 box, but it doesn't because 
complex128 is an instance of complex at applevel and not at interplevel.

----------
assignedto:  -> rguillebert

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1544>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to