repr(x) == repr(y) <=> x == y AND eval(repr(x)) == x

Chermside, Michael mchermside at ingdirect.com
Fri Oct 18 22:05:29 CEST 2002


> A wise man once said to me:
> ,---
> | You're FAR more likely to meet objects where you can't count on
> | eval(repr(x)) == x, than non-hashable objects.
> `---

Trust your wise friend.




More information about the Python-list mailing list