On Feb 25, 7:44 pm, Jeff Schwab <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] wrote: > > On Feb 24, 9:28 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > > >> [1]http://www.martinfowler.com/eaaCatalog/identityMap.html > > > [1] illustrates a case in which 'a is a' returns False, and in the > > other corner of the DeMorgan table, there is 'a is b' returns True for > > 'a == b' False. > > What is the 'a is a' == False case? I don't see anything like that > illustrated on the Identity Map page. Is it "P of EAA?"
Good point. I don't know. Just another logical possibility to go in the 1% of cases. What is P of EAA? Also, notice: For the list and tuple types, x in y is true if and only if there exists an index i such that x == y[i] is true-- from the docs. And:>>> 'abc' is 'abc' True -- http://mail.python.org/mailman/listinfo/python-list