cpython icon indicating copy to clipboard operation
cpython copied to clipboard

Sentence cased True and False to be more pythonic

Open Nujra40 opened this issue 1 year ago • 3 comments

Nujra40 avatar Jul 05 '24 15:07 Nujra40

All commit authors signed the Contributor License Agreement.
CLA signed

ghost avatar Jul 05 '24 15:07 ghost

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

bedevere-app[bot] avatar Jul 05 '24 15:07 bedevere-app[bot]

It seems to me that in all these cases, "true" or "false" do not refer to Python entities, but are used as part of natural language.

I suggest to reject this PR.

ziima avatar Jul 13 '24 15:07 ziima

We use lower true to mean any value such that bool(value) returns True.

We use uppercase True for the actual true singleton.

rhettinger avatar Jul 15 '24 04:07 rhettinger