classification
Title: Limiting data copy in xmlrpclib
Type: resource usage Stage: test needed
Components: Library (Lib) Versions: Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, kilobug, loewis, skrah
Priority: normal Keywords: patch

Created on 2007-07-04 09:54 by kilobug, last changed 2010-07-20 16:52 by BreamoreBoy.

Files
File name Uploaded Description Edit
xmlrpclib.patch kilobug, 2007-07-04 09:54
Messages (4)
msg52808 - (view) Author: Gael Le Mignot (kilobug) Date: 2007-07-04 09:54
Data going through the xmlrpclib are copied many times in Python. This creates problem when submitting blob of data in XML-RPC (I know the protocol is not aimed for that, but sometimes it's useful).

This little patch try to limit memory usage of xmlrpclib by adding a few optimizations.

I did the patch on Python 2.4 because it's what our customer is using, but it should work on Python 2.5 or more recent too.
msg110892 - (view) Author: Mark Lawrence (BreamoreBoy) Date: 2010-07-20 13:28
The code in the patch has been removed from py3k.  This can only go forward if a unit test is provided.  Change assigned to as per maintainers list.
msg110900 - (view) Author: Stefan Krah (skrah) * (Python committer) Date: 2010-07-20 14:09
Martin has recently removed his name from py3k/Misc/maintainers.rst.
Also, he has stated that assigning bugs to him might mean that they
get less attention (due to the large number of issues that he's involved
in).
msg110920 - (view) Author: Mark Lawrence (BreamoreBoy) Date: 2010-07-20 16:52
Could somebody update here please http://svn.python.org/view/*checkout*/python/branches/py3k/Misc/maintainers.rst
History
Date User Action Args
2010-07-20 16:52:15BreamoreBoysetmessages: + msg110920
2010-07-20 16:39:17loewissetassignee: loewis ->
2010-07-20 14:09:14skrahsetnosy: + skrah
messages: + msg110900
2010-07-20 13:28:38BreamoreBoysetversions: - Python 3.1
nosy: + loewis, BreamoreBoy

messages: + msg110892

assignee: loewis
2009-04-06 10:30:55ajaksu2setstage: test needed
type: resource usage
versions: + Python 3.1, Python 2.7
2007-07-04 09:54:37kilobugcreate