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 aletornw
Recipients aletornw
Date 2009-05-17.03:18:00
SpamBayes Score 6.56607e-07
Marked as misclassified No
Message-id <1242530281.91.0.594007385036.issue6044@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, I noticed that when trying to convert with the int() function a
complex number the exception error says "use int(abs(z))". I think that
insted it should say "use int(z.real)" because if I want to convert
1j**2 to int using the abs method, the result is 1 positive, when it
should be -1. With my method it works fine.
History
Date User Action Args
2009-05-17 03:18:02aletornwsetrecipients: + aletornw
2009-05-17 03:18:01aletornwsetmessageid: <1242530281.91.0.594007385036.issue6044@psf.upfronthosting.co.za>
2009-05-17 03:18:00aletornwlinkissue6044 messages
2009-05-17 03:18:00aletornwcreate