This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vdupras
Recipients ajaksu2, mark.dickinson, theller, vdupras
Date 2009-04-01.16:27:44
SpamBayes Score 6.317169e-14
Marked as misclassified No
Message-id <1238603266.45.0.356303815814.issue1741130@psf.upfronthosting.co.za>
In-reply-to
Content
While the behavior cannot be reproduced in the trunk, in can be 
reproduced in the 2.6 release:

$ python -W ignore
Python 2.6.1 (r261:67515, Dec  6 2008, 16:42:21) 
[GCC 4.0.1 (Apple Computer, Inc. build 5370)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.pack('L', 'foobar')
'\x00\x00\x00\x00'
>>> struct.pack('I', 'foobar')
'\x00\x00\x00\x00'
>>> struct.pack('i', 'foobar')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
struct.error: required argument is not an integer
>>>
History
Date User Action Args
2009-04-01 16:27:47vduprassetrecipients: + vdupras, theller, mark.dickinson, ajaksu2
2009-04-01 16:27:46vduprassetmessageid: <1238603266.45.0.356303815814.issue1741130@psf.upfronthosting.co.za>
2009-04-01 16:27:45vdupraslinkissue1741130 messages
2009-04-01 16:27:44vduprascreate