Re: Type discrepancy using struct.unpack

2006-10-19 Thread Pieter Rautenbach
Leo Kislov wrote: > Pieter Rautenbach wrote: > > Hallo, > > > > I have a 64 bit server with CentOS 4.3 installed, running Python. > > > > [EMAIL PROTECTED] pymsnt-0.11.2]$ uname -a > > Linux lutetium.mxit.co.za 2.6.9-34.ELsmp #1 SMP Thu Mar 9 06:23:23 GMT

Type discrepancy using struct.unpack

2006-10-19 Thread Pieter Rautenbach
quot;, "credits" or "license" for more information. >>> import struct >>> print type(struct.unpack(">L", "")[0]) >>> I would expect in both cases. Why is this not so? Regards Pieter Rautenbach -- http://mail.python.org/mailman/listinfo/python-list