[issue26423] Integer overflow in wrap_lenfunc() on 64-bit build of Windows with len > 2**31-1
STINNER Victor
report at bugs.python.org
Tue May 28 11:37:17 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
Oh. The test fails on Python 2.7 on Windows:
https://buildbot.python.org/all/#/builders/26/builds/287
ERROR: test_wrap_lenfunc_bad_cast (test.test_descr.OperatorsTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\buildbot.python.org\2.7.kloth-win64vs9\build\lib\test\test_descr.py", line 407, in test_wrap_lenfunc_bad_cast
self.assertEqual(xrange(sys.maxsize).__len__(), sys.maxsize)
OverflowError: Python int too large to convert to C long
----------
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue26423>
_______________________________________
More information about the Python-bugs-list
mailing list