Uri Okrent added the comment: I updated the patch to improve the tests and made the same change to xmlrpc.client.ProtocolError (which was the only other place in xmlrpc.client). I'll let you decide if this patch is better despite the fact that it suffers from the same data duplication as Fault.
If not, we can go back to just fixing Fault, or come up with a fancier solution entirely that doesn't duplicate data. Though, I hesitate to start getting too fancy for two reasons: 1) this module is old and stable, and 2) these are exception objects, so while the data duplication is ugly, the instances themselves should be short-lived. ---------- Added file: http://bugs.python.org/file43322/0001-xmlrpc.client-make-Errors-pickleable.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27281> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com