Serhiy Storchaka added the comment: > 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23229> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com