[issue2449] Improved serialization error logging in xmlrpclib

Christopher Blunck report at bugs.python.org
Fri Mar 21 21:39:48 CET 2008


New submission from Christopher Blunck <blunck2 at users.sourceforge.net>:

When xmlrpclib fails to serialize objects into XML a generic "failed to
serialize output" error is returned to the client and no log messages
are produced to give insight into the true cause of the problem.  In
real-world scenarios where lots of data moves along the wire it can be
difficult to determine the cause of the serialization problem.

I propose the attached patch as an initial cut at improving xmlrpclib
under circumstances where serialization fails.

----------
components: Library (Lib)
files: Python-2.4.4.all.patch04
messages: 64274
nosy: blunck2
severity: normal
status: open
title: Improved serialization error logging in xmlrpclib
type: feature request
versions: Python 2.4
Added file: http://bugs.python.org/file9805/Python-2.4.4.all.patch04

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2449>
__________________________________


More information about the Python-bugs-list mailing list