[pypy-dev] pow and complex object

Ben Young ben at transversal.com
Fri Jul 2 17:44:07 CEST 2004


I found a few weirdities in pos and complex. I tries to fix them by putting 
debugging print statements in complexobject.py in appspace but these did not 
seem to be picked up. Is this the right place to do this or does complex 
exist somewhere else? (All this is in std object space)

pow(2j, 2) => (1+3.4247374308419473e-311j) should be (-4 + 0j)
pow(2j, "fde") => 0j should be type error



More information about the Pypy-dev mailing list