[Python-Dev] Intricacies of calling __eq__
Tres Seaver
tseaver at palladion.com
Tue Mar 18 20:42:44 CET 2014
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/18/2014 07:18 AM, Steven D'Aprano wrote:
> Nevertheless, an __eq__ with side-effects is legal Python and may in
> fact be useful.
E.g., for an LRU usecase.
Tres.
- --
===================================================================
Tres Seaver +1 540-429-0999 tseaver at palladion.com
Palladion Software "Excellence by Design" http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iEYEARECAAYFAlMoobQACgkQ+gerLs4ltQ62agCaA6Z++yLV6VkJ5VUu8Q38AP2N
TfcAnjWyYE6/taksZQ0J3igJfv9+KhiK
=/D19
-----END PGP SIGNATURE-----
More information about the Python-Dev
mailing list