[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-09 Thread Raymond Hettinger
Change by Raymond Hettinger : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-09 Thread miss-islington
miss-islington added the comment: New changeset 1bee9a4625e101d3308831de37590f4e2f57c71c by Mark Dickinson in branch 'main': bpo-46272: Fix two heading comments in python.gram (GH-30499) https://github.com/python/cpython/commit/1bee9a4625e101d3308831de37590f4e2f57c71c -- nosy:

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-09 Thread Mark Dickinson
Mark Dickinson added the comment: > So, the meaning of these names like this is, "lt followed by an optional > bitwise_or expression"? That's certainly how I was reading it. -- ___ Python tracker

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-09 Thread Mark Dickinson
Change by Mark Dickinson : -- keywords: +patch pull_requests: +28706 stage: -> patch review pull_request: https://github.com/python/cpython/pull/30499 ___ Python tracker ___

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-06 Thread Raymond Hettinger
Raymond Hettinger added the comment: > comparison::= or_expr (comp_operator or_expr)* So, the meaning of these names like this is, "lt followed by an optional bitwise_or expression"? compare_op_bitwise_or_pair[CmpopExprPair*]: | eq_bitwise_or | noteq_bitwise_or |

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-06 Thread Mark Dickinson
Mark Dickinson added the comment: > In the section "Comparison operators", all mentions of "bitwise" should be > "binary". Should they? The corresponding line from https://docs.python.org/3/reference/expressions.html#comparisons is comparison::= or_expr (comp_operator or_expr)*

[issue46272] Fix bitwise and logical terminology in python.gram

2022-01-05 Thread Raymond Hettinger
New submission from Raymond Hettinger : In the section "Comparison operators", all mentions of "bitwise" should be "binary". The section "Logical operators" should be retitled "Bitwise operators". See: https://docs.python.org/3/reference/expressions.html#binary-bitwise-operations