20 Jul
2000
20 Jul
'00
12:18 p.m.
On Thu, Jul 20, 2000 at 03:04:53AM -0700, Dan Mick wrote:
OK, I'm probably missing something again, but this looks completely broken to me. unhexlify is using int(c, 16), but there is no such 2-argument int that I can find in Python 1.5.2.
Indeed, there isn't. You should change it to string.atoi(). (string.atol() will return longs instead of ints)
Barry, the following patch made cookies work again, but they were utterly broken before this patch, and I don't understand how you could have thought they were not...so is there a 2-argument int() in some unreleased Python or something?...
Yes. Python 2.0 has a 2-argument int().
-- Thomas Wouters <thomas@xs4all.net>
Hi! I'm a .signature virus! copy me into your .signature file to help me spread!