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 mark.dickinson
Recipients aletornw, georg.brandl, mark.dickinson
Date 2009-05-17.09:49:29
SpamBayes Score 1.0753579e-05
Marked as misclassified No
Message-id <1242553771.2.0.790209657302.issue6044@psf.upfronthosting.co.za>
In-reply-to
Content
I always found the "use int(abs(z))" part of that message odd,
as well.  As Georg points out, there are many possible ways that
one might want to convert complex to int;  it seems strange to
give advice for one particular one when that may well not match
what the user wanted.

I'd suggest just dropping the "use int(abs(z))" from the error message.
I think it's more likely to be confusing than helpful.

The same applies to float(complex).
History
Date User Action Args
2009-05-17 09:49:31mark.dickinsonsetrecipients: + mark.dickinson, georg.brandl, aletornw
2009-05-17 09:49:31mark.dickinsonsetmessageid: <1242553771.2.0.790209657302.issue6044@psf.upfronthosting.co.za>
2009-05-17 09:49:29mark.dickinsonlinkissue6044 messages
2009-05-17 09:49:29mark.dickinsoncreate