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 steven.daprano
Recipients Rotzbua, docs@python, steven.daprano
Date 2022-02-28.14:49:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646059774.35.0.903635655114.issue46882@roundup.psfhosted.org>
In-reply-to
Content
> Both arguments `aliased` and `terse` should be boolean instead of integer.

Why should they be strictly True/False booleans? I disagree strongly that they should be. Any object that duck-types as a true or false value is sufficient.

Treated as a documentation change, your PR is wrong because it implies that *only* the singletons `True` and `False` are acceptable, when in fact any true and false (note the lowercase) values are acceptable.

Personally, I prefer the terms "truthy" and "falsey", or "a true value" and "a false value" over a bare true/false, but some people do not, and it is a long-standing tradition in Python circles to understand lowercase true/false as the duck-typed values as opposed to the `True` and `False` bool singletons.
History
Date User Action Args
2022-02-28 14:49:34steven.dapranosetrecipients: + steven.daprano, docs@python, Rotzbua
2022-02-28 14:49:34steven.dapranosetmessageid: <1646059774.35.0.903635655114.issue46882@roundup.psfhosted.org>
2022-02-28 14:49:34steven.dapranolinkissue46882 messages
2022-02-28 14:49:34steven.dapranocreate