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 ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
