Message178736
Other thoughts.
I'm not sure why you're surprised the C->Python pickle/unpickle works. You've changed the type name from Element to _elementtree.Element, so I would guess Python always uses the C version to unpickle as well. Can you debug to verify what actually goes on under the hood? Why did you change the class name, by the way, I don't think it's a valid change at least for 3.3 in terms of backwards compatibility.
Regarding that compatibility, and even easier idea would be for the C pickle to return the same __dict__ implicitly gathered from the Python version, and then only one version of the unpickle is required. |
|
Date |
User |
Action |
Args |
2013-01-01 15:54:00 | eli.bendersky | set | recipients:
+ eli.bendersky, georg.brandl, jcea, larry, ezio.melotti, Arfrever, flox, santoso.wijaya, python-dev, einarfd, danielsh |
2013-01-01 15:53:59 | eli.bendersky | set | messageid: <1357055639.81.0.739252265035.issue16076@psf.upfronthosting.co.za> |
2013-01-01 15:53:59 | eli.bendersky | link | issue16076 messages |
2013-01-01 15:53:59 | eli.bendersky | create | |
|