GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||
GeezerVison is showing github.com — PEP 7: Mention signed overflow explicitly by matthiasgoergens · Pull Request #2796 · python/peps ConversationThis is a draft for discussion of python/cpython#96821
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
matthiasgoergens
requested review from
gvanrossum and
warsaw
as code owners
hugovk
reviewed
Uh oh!
There was an error while loading. Please reload this page.
matthiasgoergens
force-pushed
the
matthias/fwrapv
branch
from
ae434c6 to
f1d62c2
Compare
Co-authored-by: Hugo van Kemenade <[email protected]>
gvanrossum
reviewed
Comment on lines
+38
to
+39
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure what this is trying to say. Do you mean that you can cause Python to ignore such overflows by passing
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
|
|
You gotta find someone else to argue, sorry. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
I'm not seeing the benefit of this PR's change. All it's saying is CPython was compiled with a certain flag up to a certain point. But PEP 7 is not about how CPython is compiled but how to write C code within the project. Without specific guidance, e.g. "all arithmetic operations that may overflow are expected to ...," I'm not seeing what use core developers are supposed to derive from this to guide their coding. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The change doesn't present concrete guidelines on what core devs should do, just saying a certain compiler flag for some compilers has typically been used. More concrete guidelines of how code should be written is necessary.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Since no updates have been made based on the feedback provided, I'm closing this PR. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.