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 r.david.murray
Recipients mark.dickinson, r.david.murray, veky
Date 2016-06-24.14:39:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
That's a good point; however the goal of the "repr invariant" is to be able to losslessly reproduce the object when possible.  The fact that you have to use the complex constructor to do that is unfortunate, but is a consequence of the underlying problem.  I suspect that literal_eval, on the other hand, should reproduce what the interpreter does, but since I think it already doesn't do that 100% (though I can't offhand remember what makes me think that) perhaps that is a possibility.  I'll reopen the issue to discuss that.
Date User Action Args
2016-06-24 14:39:34r.david.murraysetrecipients: + r.david.murray, mark.dickinson, veky
2016-06-24 14:39:34r.david.murraysetmessageid: <>
2016-06-24 14:39:34r.david.murraylinkissue27363 messages
2016-06-24 14:39:34r.david.murraycreate