Sept. 19, 2016
12:16 p.m.
Hi,
IMHO opinion you're using the wrong parser. lxml.objectify uses its own dedicated XML parser, to support its specialized element lookup. Indeed this resolved the issue for the test repository I proposed. It seems that comments are forgotten / not parsed by Objectify.
Unfortunately, that does not reproduce my original code base bug and so it means I need to figure out exactly where the pickled object changes in behavior compared to the original object. I assume I'll be back later with a more clearer explanation of my issue. Thanks, Thibault