On Sat, 2003-03-15 at 13:59, Karl Putland wrote:
> In ThreadedAppserver.py I don't understand how the following line makes
> sense.
>
> #Note that this limits the size of the dictionary we receive from the AppServer to 2,147,483,647 bytes
> int_length = len(dumps(int(1)))
>
> doesn't int_length == 5
> at least it does in a python shell.
int_length is the number of bytes that marshal uses to encode a (not
long) integer. What's the confusion?
Ian
|