Issue 2147: int operations no longer overflow (original) (raw)

Issue2147

Created on 2008-02-20 04:27 by nnorwitz, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (3)
msg62586 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2008-02-20 04:27
Georg, I hope you don't mind me assigning this to you. Feel free to unassign. A colleague pointed me to section 5.7 in the old ref doc: http://docs.python.org/ref/shifting.html It says that shifting operations lose data on overflow. This info is outdated based on PEP 237. I suspect there may be other inaccuracies related to int overflow. So the purpose of this bug is to point out the specific problem as well as to log that we need to find all invalid references to overflow.
msg62587 - (view) Author: Will Robinson (willrobinson) Date: 2008-02-20 04:53
Just jumping in to say the colleague Neal refers to is me, and I'm interested in the resolution to this bug. Thanks in advance for your help.
msg66620 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-05-11 10:56
OK, I think I fixed the remaining locations in r63055.
History
Date User Action Args
2022-04-11 14:56:31 admin set github: 46400
2008-05-11 10:56:34 georg.brandl set status: open -> closedresolution: fixedmessages: +
2008-02-20 04:53:07 willrobinson set nosy: + willrobinsonmessages: +
2008-02-20 04:27:37 nnorwitz create