[Python-Dev] Expression optimizations

Antoine Pitrou solipsis at pitrou.net
Tue Feb 10 18:26:19 CET 2009


Steve Holden <steve <at> holdenweb.com> writes:
> 
> That's true, but the same *could* be said about the existing
> optimizations for objects that define their own __contains__.

No, because there is no such thing as __not_contains__.

Regards

Antoine.




More information about the Python-Dev mailing list