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 Windson Yang
Recipients Windson Yang, docs@python
Date 2019-03-09.06:24:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1552112664.77.0.64046371975.issue36248@roundup.psfhosted.org>
In-reply-to
Content
I think we should document the behavior as below, (maybe at https://docs.python.org/3/reference/expressions.html#operator-precedence)

>>> 1 or 0 and 3
1
>>> 0 or 1 and 3
3

Please correct me if we already document it.
History
Date User Action Args
2019-03-09 06:24:24Windson Yangsetrecipients: + Windson Yang, docs@python
2019-03-09 06:24:24Windson Yangsetmessageid: <1552112664.77.0.64046371975.issue36248@roundup.psfhosted.org>
2019-03-09 06:24:24Windson Yanglinkissue36248 messages
2019-03-09 06:24:24Windson Yangcreate