fix the bug in complex constructor
Complex constructor should call __complex__ before call __float__. And should not call PyNumber_Float in that special method. Also add error checking after calling PyNumber_Float.
Showing
Please register or sign in to comment