On Wed, Sep 5, 2012 at 8:13 AM, Steven D'Aprano
<steve+comp.lang.pyt...@pearwood.info> wrote:
> You *cannot* replace is with id() except when the objects are guaranteed
> to both be alive at the same time, and even then you *shouldn't* replace
> is with id() because that is a pessimation (the opposite of an
> optimization -- something that makes code run slower, not faster).

Shouldn't that be "pessimization" for symmetry?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to