This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author SilentGhost
Recipients SilentGhost, Windson Yang, docs@python, serhiy.storchaka, steven.daprano
Date 2019-03-09.09:27:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552123665.91.0.519186690818.issue36248@roundup.psfhosted.org>
In-reply-to
Content
Windson, it still is not clear what exactly you find unexpected in view of supplied links:

1 or 0 and 3
or has higher precedence than and, therefore it's evaluated first. It's first argument (1) is truthy, therefore it's returned. End of comparison.

0 or 1 and 3
starts the same, but now the second argument (1 and 3) needs evaluating and its return value (3) will be the end result. End of comparison.

I certainly think the suggested wording is a no go.
History
Date User Action Args
2019-03-09 09:27:45SilentGhostsetrecipients: + SilentGhost, steven.daprano, docs@python, serhiy.storchaka, Windson Yang
2019-03-09 09:27:45SilentGhostsetmessageid: <1552123665.91.0.519186690818.issue36248@roundup.psfhosted.org>
2019-03-09 09:27:45SilentGhostlinkissue36248 messages
2019-03-09 09:27:45SilentGhostcreate