On Sun, Jun 28, 2015 at 12:05 PM, Nicolas Borie <pout...@gmail.com> wrote:
> i is a free variable and exist in a single piece of memory...

Gods. This is worse than I thought...

The only reason why this doesn't happen for, say, "L = [2**i for i in
range(5)]", is that 2**i is eagerly evaluated, I guess?

> What about this one :
>>>> True is False
> False
>>>> False is False
> True
>>>> True is False is False
> False
>>>> (True is False) is False
> True
>>>> True is (False is False)
> True
>
> This last one is easy but still tricky the first time you see it...

This one I actually find pretty reasonable.

  Best regards,
  Darij

-- 
You received this message because you are subscribed to the Google Groups 
"sage-combinat-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-combinat-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-combinat-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to