[issue16076] xml.etree.ElementTree.Element is no longer pickleable
Daniel Shahaf
report at bugs.python.org
Mon Dec 3 17:48:11 CET 2012
Daniel Shahaf added the comment:
Attached patch for your consideration.
I've tested pickling/unpickling and comparing the resulting object attribute by attribute (.tag, .attrib, .text, .tail for equality; and recursively .getchildren()), and 'make test' --- all seems to work.
If the approach is sound, I can submit a revised patch that also updates documentation, regression tests, and potententially updates other type objects in the same manner as this patch updates _elementtree.Element .
----------
components: +Extension Modules
keywords: +patch
nosy: +danielsh
Added file: http://bugs.python.org/file28199/i16076-cpatch.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16076>
_______________________________________
More information about the Python-bugs-list
mailing list