[Python-Dev] xmlrpclib speed boost (original) (raw)

Skip Montanaro skip@pobox.com (Skip Montanaro)
Mon, 1 Oct 2001 15:04:11 -0500


Fredrik> skip wrote:
>> This change may be deemed not to be the correct fix as far backwards
>> compatibility is concerned (it uses the "from m import x as y"
>> feature which was new with 2.0 I think).  If someone alters this fix,
>> please don't put the import back into the functions that call
>> cgi.escape.

Fredrik> you forgot to remove the comment at the top of the file that
Fredrik> says it works with 1.5.2 and later.

Thanks, this is what I was referring to (of course, I didn't see the comment).

Fredrik> I've restored backwards compatibility, and tweaked the
Fredrik> marshaller a little bit more.  the new code is about 80% faster
Fredrik> than 1.0b3 on my machine.  ymmv, as usual.

Cool.

Skip