[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

[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

[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.pa