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.

classification
Title: Some "truthy" crept in
Type: Stage: resolved
Components: Documentation Versions: Python 3.11, Python 3.10
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: rhettinger Nosy List: Stefan Pochmann, docs@python, miss-islington, pablogsal, rhettinger
Priority: normal Keywords: patch

Created on 2021-10-02 14:17 by Stefan Pochmann, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 28697 merged rhettinger, 2021-10-02 17:49
PR 28698 merged miss-islington, 2021-10-02 18:48
Messages (4)
msg403056 - (view) Author: Stefan Pochmann (Stefan Pochmann) * Date: 2021-10-02 14:17
Python consistently says true/false, not truthy/falsy. But a few "truthy" have crept in now:

https://github.com/python/cpython/search?q=truthy
- Two in Doc/reference/compound_stmts.rst
- One in Doc/library/ast.rst
- One in Lib/test/test_builtin.py

Evidence for consistent true/false usage, if needed:
https://docs.python.org/3/library/stdtypes.html#truth-value-testing
https://docs.python.org/3/library/stdtypes.html#boolean-operations-and-or-not
https://docs.python.org/3/reference/compound_stmts.html#the-if-statement
https://docs.python.org/3/reference/compound_stmts.html#the-while-statement
https://docs.python.org/3/reference/expressions.html#boolean-operations
msg403060 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2021-10-02 18:48
New changeset db91b058d5d4fbff4185982095d90fe6a2741aed by Raymond Hettinger in branch 'main':
bpo-45346: Keep docs consistent regarding true and false values (GH-28697)
https://github.com/python/cpython/commit/db91b058d5d4fbff4185982095d90fe6a2741aed
msg403061 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2021-10-02 19:33
New changeset 72089f33c0aed391f047b1cbaf19d8da1e51c167 by Miss Islington (bot) in branch '3.10':
bpo-45346: Keep docs consistent regarding true and false values (GH-28697) (GH-28698)
https://github.com/python/cpython/commit/72089f33c0aed391f047b1cbaf19d8da1e51c167
msg403164 - (view) Author: Pablo Galindo Salgado (pablogsal) * (Python committer) Date: 2021-10-04 19:18
New changeset 49fac92173d2c6cc3bd42a2355824e13272a3a7d by Pablo Galindo (Miss Islington (bot)) in branch '3.10':
bpo-45346: Keep docs consistent regarding true and false values (GH-28697) (GH-28698)
https://github.com/python/cpython/commit/49fac92173d2c6cc3bd42a2355824e13272a3a7d
History
Date User Action Args
2022-04-11 14:59:50adminsetgithub: 89509
2021-10-04 19:18:43pablogsalsetnosy: + pablogsal
messages: + msg403164
2021-10-02 19:33:20rhettingersetstatus: open -> closed
resolution: fixed
stage: patch review -> resolved
2021-10-02 19:33:02rhettingersetmessages: + msg403061
2021-10-02 18:48:19rhettingersetmessages: + msg403060
2021-10-02 18:48:17miss-islingtonsetnosy: + miss-islington
pull_requests: + pull_request27057
2021-10-02 17:49:48rhettingersetkeywords: + patch
stage: patch review
pull_requests: + pull_request27056
2021-10-02 17:46:28rhettingersetassignee: docs@python -> rhettinger

type: enhancement ->
nosy: + rhettinger
2021-10-02 17:31:37Stefan Pochmannsettype: enhancement
2021-10-02 14:17:26Stefan Pochmanncreate