Parenthesize macro to avoid precedence issues#148062
Parenthesize macro to avoid precedence issues#148062bjourne wants to merge 1 commit intopython:mainfrom
Conversation
|
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 |
|
When would this cause an issue? I do not think we need to do this as it is code churn for now. Unless there macro is as a RHS of an operator of same-or-higher priority there should not be an issue. Is this macro used in non trivial arithmetic/comparisons? |
|
It would cause silent bugs if one were ever to write |
|
I know that but I wonder if we will ever need to do it. We tend to avoid changing code for the future especially if this is not needed. Where is the macro used in the file? if this is only used once, and that the code has not been changed since then, I would prefer not to make changes. |
|
I disagree but this "discussion" is more annoying than it's worth. |
This is an uber trivial fix. :)