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 serhiy.storchaka
Recipients gvanrossum, mark.dickinson, pitrou, serhiy.storchaka, vstinner
Date 2015-01-13.20:28:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1421180903.05.0.230235054058.issue23229@psf.upfronthosting.co.za>
In-reply-to
Content
> Sorry, I don't see how this helps.  What do you want the repr of (for example) "complex(-0.0, 5.0)" to be, and why?  What about the cases with 0 in the imaginary part?

Ah, it doesn't help in this case. It helps only when the imaginary part is negative.

>>> eval('(-0.0-5j)')
(-0-5j)
>>> eval('(-0-5j)')
-5j
History
Date User Action Args
2015-01-13 20:28:23serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, mark.dickinson, pitrou, vstinner
2015-01-13 20:28:23serhiy.storchakasetmessageid: <1421180903.05.0.230235054058.issue23229@psf.upfronthosting.co.za>
2015-01-13 20:28:23serhiy.storchakalinkissue23229 messages
2015-01-13 20:28:22serhiy.storchakacreate