Message269181
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:34 | r.david.murray | set | recipients:
+ r.david.murray, mark.dickinson, veky |
2016-06-24 14:39:34 | r.david.murray | set | messageid: <1466779174.69.0.805112922398.issue27363@psf.upfronthosting.co.za> |
2016-06-24 14:39:34 | r.david.murray | link | issue27363 messages |
2016-06-24 14:39:34 | r.david.murray | create | |
|