Issue1003

classification
Title: struct packing inconsistent with CPython
Type: behaviour Severity: normal
Components: Library Versions: Jython 2.1
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: davidhuebel, fwierzbicki, pjenvey
Priority: Keywords:

Created on 2008-03-05.16:15:00 by davidhuebel, last changed 2008-11-23.04:29:49 by pjenvey.

Files
File name Uploaded Description Edit Remove
struct-test.py davidhuebel, 2008-03-05.16:14:59 script showing different behavior between Jython and CPython
Messages
msg3058 (view) Author: David Huebel (davidhuebel) Date: 2008-03-05.16:14:59
Under x86 Linux, the Jython struct module packs the struct specifier
'!HQ' in 16 bytes, while CPython uses 10 bytes.

jython -v prints:
Jython 2.2 on java1.6.0_03

Possible relevant:  The follow "bug" (titled "struct.java now accepts
64bits ints") was closed with the note that struct tests still do not pass:

http://bugs.jython.org/issue577728
msg3824 (view) Author: Philip Jenvey (pjenvey) Date: 2008-11-23.04:29:49
This was fixed on trunk a little while ago, likely from r5172. thanks!
History
Date User Action Args
2008-11-23 04:29:49pjenveysetstatus: open -> closed
nosy: + pjenvey
resolution: fixed
messages: + msg3824
2008-03-05 16:24:55fwierzbickisetnosy: + fwierzbicki
2008-03-05 16:15:00davidhuebelcreate