Message233967
> 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 |
|
Date |
User |
Action |
Args |
2015-01-13 20:28:23 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, mark.dickinson, pitrou, vstinner |
2015-01-13 20:28:23 | serhiy.storchaka | set | messageid: <1421180903.05.0.230235054058.issue23229@psf.upfronthosting.co.za> |
2015-01-13 20:28:23 | serhiy.storchaka | link | issue23229 messages |
2015-01-13 20:28:22 | serhiy.storchaka | create | |
|