Eli Bendersky added the comment: On Jan 4, 2013 2:09 AM, "Stefan Krah" <rep...@bugs.python.org> wrote: > > > Stefan Krah added the comment: > > Daniel Shahaf <rep...@bugs.python.org> wrote: > > Is there a requirement that it loads a particular module? Would etree > > users notice the difference if pickle.load() returns an instance of the > > "other" Element implementation than the one they pickled? > > Yes: If you send an "_elementtree.Element" pickle to another machine that > doesn't have a working C version, it can't be unpickled. As far as I know > the only way around that is to pickle as "xml.etree.ElementTree.Element". > > ---------- >
Yes this is a good point. Another thing to consider is that if both report the same name then it will be possible to unpickle on a machine running 3.2 > _______________________________________ > Python tracker <rep...@bugs.python.org> > <http://bugs.python.org/issue16076> > _______________________________________ ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16076> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com