eval(repr(x)) == x

phil hunt philh at comuno.freeserve.co.uk
Sun Jan 27 15:26:18 EST 2002


On Sun, 27 Jan 2002 04:26:26 -0500, Oren Tirosh <oren-py-l at hishome.net> wrote:
>For many python builtins eval(repr(x)) == x.

I once designed a language whose main feature was that this
was true for all x. 

As a consequence, all data was trivially serializable.

-- 
===== Philip Hunt ===== philh at comuno.freeserve.co.uk =====
One OS to rule them all, one OS to find them,
One OS to bring them all and in the darkness bind them,
In the Land of Redmond, where the Shadows lie.




More information about the Python-list mailing list