[New-bugs-announce] [issue3859] test_sys.Sizeof fails on win64

Amaury Forgeot d'Arc report at bugs.python.org
Sat Sep 13 15:35:51 CEST 2008

New submission from Amaury Forgeot d'Arc <amauryfa at gmail.com>:

the "AMD64 W2k8 3.0" buildbot always fail test_sys:

    check(range(66000), size(h + '3l'))
AssertionError: wrong size for <class 'range'>: got 56, expected 48

The previous line of the test is:
    check(range(1), size(h + '3P'))
(win64 is the only platform where 'P' has a different size than 'l')
Why are there two versions of the structure? There is only one range 

I suggest to replace the failing line with:
    check(range(66000), size(h + '3P'))
to properly reflect the three PyObject* of the structure.

components: Tests
keywords: needs review
messages: 73181
nosy: amaury.forgeotdarc
priority: critical
severity: normal
status: open
title: test_sys.Sizeof fails on win64
versions: Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list