[New-bugs-announce] [issue45346] Some "truthy" crept in

Stefan Pochmann report at bugs.python.org
Sat Oct 2 10:17:26 EDT 2021


New submission from Stefan Pochmann <stefan.pochmann at gmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 403056
nosy: Stefan Pochmann, docs at python
priority: normal
severity: normal
status: open
title: Some "truthy" crept in
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45346>
_______________________________________


More information about the New-bugs-announce mailing list