This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: int operations no longer overflow
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 2.6, Python 2.5
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: georg.brandl, nnorwitz, willrobinson
Priority: normal Keywords:

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:31adminsetgithub: 46400
2008-05-11 10:56:34georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg66620
2008-02-20 04:53:07willrobinsonsetnosy: + willrobinson
messages: + msg62587
2008-02-20 04:27:37nnorwitzcreate