[Bug 511366] Re: python 3.1 complex number data type returning wrong result from .imag() function

seanlynch sean.seanlynch at gmail.com
Fri Jan 22 22:30:19 UTC 2010


seems to be precedence causing difference:

>>> (3-4j).imag
-4.0

works

- operation has higher precedence than complex data type recognition

Thank you

-- 
python 3.1 complex number data type returning wrong result from .imag() function
https://bugs.launchpad.net/bugs/511366
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list