Vedran Čačić added the comment:

Funny, I thought the "repr invariant" was exactly the opposite thing, that 
_eval_ (or literal_eval) of repr should give back the starting object. And 
that's what I intended to preserve here. It's obviously broken now.

Ok, alternate suggestion: can at least ast.literal_eval be fixed to work in the 
same way as complex constructor? Because it's not much of a "literal" 
otherwise...

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue27363>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to