[issue3147] tests for sys.getsizeof fail on win64

Martin v. Löwis report at bugs.python.org
Thu Jun 26 10:42:57 CEST 2008


Martin v. Löwis <martin at v.loewis.de> added the comment:

I can't quite follow your layout of a longint; in debug mode, I think it is
- 2P (next/prev)
- ssize_t (refcnt)
- P (type)
- ssize_t (size)
- digits

Notice that a ssize_t is 64 bits on Win64, so there shouldn't be any
longs in the structure on Win64.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3147>
_______________________________________


More information about the Python-bugs-list mailing list