[Twisted-Python] Re: [Twisted-commits] CVS: Twisted/twisted/python otp.py,NONE,1.1
Itamar Shtull-Trauring
lists at itamarst.org
Thu Sep 6 03:36:27 MDT 2001
Moshe Zadka wrote:
> Was there a good reason you reimplemented the struct module in Python?
Yes, struct can't deal with arbitarily long integers:
>>> struct.pack("L", 299999999999999999999999999999999999999999l)
Traceback (most recent call last):
File "<console>", line 1, in ?
OverflowError: long int too long to convert
More information about the Twisted-Python
mailing list