[New-bugs-announce] [issue7189] struct.calcsize returns strange size

Igor Mikushkin report at bugs.python.org
Fri Oct 23 12:24:28 CEST 2009

New submission from Igor Mikushkin <igor.mikushkin at gmail.com>:

I think in second case struct size should be 53.

In [31]: struct.calcsize('ihhi35scc')
Out[31]: 49

In [32]: struct.calcsize('ihhi35scci')
Out[32]: 56

components: Library (Lib)
messages: 94379
nosy: igor.mikushkin
severity: normal
status: open
title: struct.calcsize returns strange size
type: behavior
versions: Python 2.6

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list