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 eric.smith
Recipients Polux.Moon, docs@python, eric.smith, r.david.murray
Date 2014-12-18.15:17:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418915822.02.0.579098705141.issue23083@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this should be documented. It follows from int and bool equivalence. Plus, I consider it an anti-pattern.

We don't want to document everywhere you can pass a bool where an int is called for. That's thousands of places.
History
Date User Action Args
2014-12-18 15:17:02eric.smithsetrecipients: + eric.smith, r.david.murray, docs@python, Polux.Moon
2014-12-18 15:17:02eric.smithsetmessageid: <1418915822.02.0.579098705141.issue23083@psf.upfronthosting.co.za>
2014-12-18 15:17:01eric.smithlinkissue23083 messages
2014-12-18 15:17:01eric.smithcreate