classification
Title: test_bisect failure under 64-bit Windows
Type: behavior Stage: resolved
Components: Library (Lib), Tests Versions: Python 3.2, Python 3.3
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: brian.curtin, mark.dickinson, pitrou, python-dev
Priority: high Keywords:

Created on 2012-05-16 12:16 by pitrou, last changed 2012-05-16 13:10 by pitrou. This issue is now closed.

Messages (7)
msg160843 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-05-16 12:16
Shows that we lack such a buildbot...

======================================================================
FAIL: test_large_range (test.test_bisect.TestBisectC)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "Z:\default\lib\test\test_bisect.py", line 129, in test_large_range
    self.assertEqual(mod.bisect_left(data, sys.maxsize-3), sys.maxsize-3)
AssertionError: 4294967294 != 9223372036854775804

----------------------------------------------------------------------
msg160848 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-05-16 12:38
Dates back to #10889.
msg160851 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2012-05-16 12:41
Curious;  looks at first sight like some sort of confusion between Py_ssize_t and long types.
msg160852 - (view) Author: Roundup Robot (python-dev) Date: 2012-05-16 12:42
New changeset 888f5f3bfcb6 by Antoine Pitrou in branch '3.2':
Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
http://hg.python.org/cpython/rev/888f5f3bfcb6

New changeset a3784c8f165e by Antoine Pitrou in branch 'default':
Issue #14829: Fix bisect and range() indexing with large indices (>= 2 ** 32) under 64-bit Windows.
http://hg.python.org/cpython/rev/a3784c8f165e
msg160857 - (view) Author: Roundup Robot (python-dev) Date: 2012-05-16 13:04
New changeset e957b93571a8 by Antoine Pitrou in branch '2.7':
Issue #14829: Fix bisect issues under 64-bit Windows.
http://hg.python.org/cpython/rev/e957b93571a8
msg160858 - (view) Author: Roundup Robot (python-dev) Date: 2012-05-16 13:09
New changeset 13900edf13be by Antoine Pitrou in branch '3.2':
Forward port additional tests from 2.7 (issue #14829).
http://hg.python.org/cpython/rev/13900edf13be

New changeset 8c8709b98762 by Antoine Pitrou in branch 'default':
Forward port additional tests from 2.7 (issue #14829).
http://hg.python.org/cpython/rev/8c8709b98762
msg160859 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2012-05-16 13:10
Should be fixed now.
History
Date User Action Args
2012-05-16 13:10:22pitrousetstatus: open -> closed
versions: + Python 3.2, Python 3.3
messages: + msg160859

resolution: fixed
stage: resolved
2012-05-16 13:09:40python-devsetmessages: + msg160858
2012-05-16 13:04:12python-devsetmessages: + msg160857
2012-05-16 12:42:01python-devsetnosy: + python-dev
messages: + msg160852
2012-05-16 12:41:45mark.dickinsonsetmessages: + msg160851
2012-05-16 12:38:14pitrousetmessages: + msg160848
2012-05-16 12:16:50pitroucreate