[Python-Dev] Intricacies of calling eq (original) (raw)
Tres Seaver tseaver at palladion.com
Tue Mar 18 20:42:44 CET 2014
- Previous message: [Python-Dev] Intricacies of calling __eq__
- Next message: [Python-Dev] Intricacies of calling __eq__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
-----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-----
- Previous message: [Python-Dev] Intricacies of calling __eq__
- Next message: [Python-Dev] Intricacies of calling __eq__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]