Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

int operations no longer overflow #46400

Closed
nnorwitz mannequin opened this issue Feb 20, 2008 · 3 comments
Closed

int operations no longer overflow #46400

nnorwitz mannequin opened this issue Feb 20, 2008 · 3 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@nnorwitz
Copy link
Mannequin

nnorwitz mannequin commented Feb 20, 2008

BPO 2147
Nosy @birkenfeld

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/birkenfeld'
closed_at = <Date 2008-05-11.10:56:34.112>
created_at = <Date 2008-02-20.04:27:37.236>
labels = ['docs']
title = 'int operations no longer overflow'
updated_at = <Date 2008-05-11.10:56:34.110>
user = 'https://bugs.python.org/nnorwitz'

bugs.python.org fields:

activity = <Date 2008-05-11.10:56:34.110>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-05-11.10:56:34.112>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-02-20.04:27:37.236>
creator = 'nnorwitz'
dependencies = []
files = []
hgrepos = []
issue_num = 2147
keywords = []
message_count = 3.0
messages = ['62586', '62587', '66620']
nosy_count = 3.0
nosy_names = ['nnorwitz', 'georg.brandl', 'willrobinson']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue2147'
versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

@nnorwitz
Copy link
Mannequin Author

nnorwitz mannequin commented Feb 20, 2008

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.

@nnorwitz nnorwitz mannequin assigned birkenfeld Feb 20, 2008
@nnorwitz nnorwitz mannequin added the docs Documentation in the Doc dir label Feb 20, 2008
@willrobinson
Copy link
Mannequin

willrobinson mannequin commented Feb 20, 2008

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.

@birkenfeld
Copy link
Member

OK, I think I fixed the remaining locations in r63055.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

1 participant