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 r.david.murray
Recipients docs@python, ethan.furman, josh.r, jpotelle, r.david.murray
Date 2015-01-03.13:19:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420291197.67.0.537629996368.issue23153@psf.upfronthosting.co.za>
In-reply-to
Content
Indeed, the short circuit and value return behavior is described in that section just before the example.

I agree with Joel.  This is a tutorial, and part of the zen of Python is that all expressions have a boolean value.  There are very few places in python programs where it would be considered Pythonic to "cast" a value to one of the two uniquely boolean values via the Bool operator, so it is better that it *not* be mentioned in this context.
History
Date User Action Args
2015-01-03 13:19:57r.david.murraysetrecipients: + r.david.murray, docs@python, ethan.furman, josh.r, jpotelle
2015-01-03 13:19:57r.david.murraysetmessageid: <1420291197.67.0.537629996368.issue23153@psf.upfronthosting.co.za>
2015-01-03 13:19:57r.david.murraylinkissue23153 messages
2015-01-03 13:19:57r.david.murraycreate