Message179315
New iteration.
Open issues:
- Share code with the init method. The issue with sharing code with either element_init() or create_new_element() would be malloc+realloc: unlike either of these methods, we know both the attributes and the number of children at allocation time, so we can allocate directly the right number of children.
- C<->Py Interchangeable pickling of TreeBuilder (per above msg).
Differences to previous version:
- Skip C<->Py interchangeability testing of TreeBuilder --- because that one started failing with:
_pickle.UnpicklingError: state is not a dictionary
It can probably be fixed, but I'd like to address the above question about pickling the factory first.
- Use __getstate__ rather than __reduce__ for Element.
- Make Element pickling interchangeable between c/py Element
(set tp_name to "xml.etree.ElementTree.Element" and match the
pickled format). |
|
Date |
User |
Action |
Args |
2013-01-08 06:31:50 | danielsh | set | recipients:
+ danielsh, georg.brandl, jcea, larry, ezio.melotti, Arfrever, eli.bendersky, skrah, flox, santoso.wijaya, python-dev, einarfd |
2013-01-08 06:31:49 | danielsh | set | messageid: <1357626709.05.0.992286878531.issue16076@psf.upfronthosting.co.za> |
2013-01-08 06:31:49 | danielsh | link | issue16076 messages |
2013-01-08 06:31:48 | danielsh | create | |
|