New submission from Iain Henderson <the_i...@mac.com>:

The documentation here: http://docs.python.org/library/stdtypes.html
indicates that and operates as such
{if x:
    return x
else:
    return y}

to be a logical conjugation it should function as
{if x:
    if y:
        return True
return False}

The it is now (False and True) will return True.  Basic logic asserts that this 
is not the case.

----------
messages: 132740
nosy: the_iain
priority: normal
severity: normal
status: open
title: and is not a logical conjugation
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11737>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to