On Thu, 16 Jul 2009 09:43:53 +0200, Hendrik van Rooyen wrote: > "Hrvoje Niksic" <hnik...@x..s.org> wrote: > > >> Note that in Python A or B is in fact not equivalent to not(not A and >> not B). > > De Morgan would turn in his grave.
No he wouldn't. Python isn't Boolean algebra, and there is no requirement to limit Python's operators to the semantics of Boolean algebra. -- Steven -- http://mail.python.org/mailman/listinfo/python-list