[issue28045] minor inaccuracy in range_contains_long

2016-09-11 Thread Berker Peksag

Berker Peksag added the comment:

Good catch, thanks!

--
nosy: +berker.peksag
resolution:  -> fixed
stage:  -> resolved
status: open -> closed
type: enhancement -> behavior
versions:  -Python 2.7, Python 3.3, Python 3.4, Python 3.7

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28045] minor inaccuracy in range_contains_long

2016-09-11 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 957084395042 by Berker Peksag in branch '3.5':
Issue #28045: Fix comment in range_contains_long()
https://hg.python.org/cpython/rev/957084395042

New changeset 924a64745168 by Berker Peksag in branch 'default':
Issue #28045: Merge from 3.5
https://hg.python.org/cpython/rev/924a64745168

--
nosy: +python-dev

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue28045] minor inaccuracy in range_contains_long

2016-09-09 Thread wim glenn

New submission from wim glenn:

The [commented] code summarising this algorithm is incorrect because % has 
precedence over -  

Hey, no big deal it's just a comment after all, but may as well fix it up.

--
assignee: docs@python
components: Documentation, Interpreter Core
files: mywork.patch
keywords: patch
messages: 275353
nosy: docs@python, wim.glenn
priority: normal
severity: normal
status: open
title: minor inaccuracy in range_contains_long
type: enhancement
versions: Python 2.7, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7
Added file: http://bugs.python.org/file44505/mywork.patch

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com