Amaury Forgeot d'Arc <[EMAIL PROTECTED]> added the comment: repr() is supposed to round-trip with eval() for common types.
str() is the function that round-trips with the original type: >>> x = 5 >>> x == int(str(x)) True >>> x = "Test Text" >>> x == str(str(x)) # :-) True ---------- nosy: +amaury.forgeotdarc resolution: -> invalid status: open -> closed _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue3198> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com