This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author newman
Recipients newman
Date 2007-09-16.07:31:19
SpamBayes Score 0.0052490486
Marked as misclassified No
Message-id <1189927880.3.0.518995379378.issue1168@psf.upfronthosting.co.za>
In-reply-to
Content
"imag" returns incorrect results if invoked on a literal number.
Looks like a bug.

>>> 1-2j
(1-2j)
>>> 1-2j.real
1.0
>>> 1-2j.imag
-1.0
>>> 1-4j.imag
-3.0
>>> (1-4j).imag
-4.0
>>>
History
Date User Action Args
2007-09-16 07:31:20newmansetspambayes_score: 0.00524905 -> 0.0052490486
recipients: + newman
2007-09-16 07:31:20newmansetspambayes_score: 0.00524905 -> 0.00524905
messageid: <1189927880.3.0.518995379378.issue1168@psf.upfronthosting.co.za>
2007-09-16 07:31:20newmanlinkissue1168 messages
2007-09-16 07:31:19newmancreate