Hi Amaury,

On Wed, Sep 14, 2005 at 07:09:44PM +0200, Amaury Forgeot D Arc wrote:
> Ah, I did not see the "no_side_effects_in_union" trick. Now I
> understand that union() is meant to have the side-effect you
> describe, and that contains() has no side-effect and is safe
> to use in assertions.

Right, contains() is based on union_of() but with a trick to disable
side-effects.


Armin
_______________________________________________
pypy-dev@codespeak.net
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to