Message179032
| Author |
eli.bendersky |
| Recipients |
Arfrever, danielsh, einarfd, eli.bendersky, ezio.melotti, flox, georg.brandl, jcea, larry, python-dev, santoso.wijaya, skrah |
| Date |
2013年01月04日.14:59:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAF-Rda_q9qHrSsKvs0Nzk+BbVo2PvP+vwPrMLEkn+OqmUDKbCA@mail.gmail.com> |
| In-reply-to |
<20130104100943.GA4199@sleipnir.bytereef.org> |
| Content |
On Jan 4, 2013 2:09 AM, "Stefan Krah" <report@bugs.python.org> wrote:
>
>
> Stefan Krah added the comment:
>
> Daniel Shahaf <report@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 <report@bugs.python.org>
> <http://bugs.python.org/issue16076>
> _______________________________________ |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年01月04日 14:59:18 | eli.bendersky | set | recipients:
+ eli.bendersky, georg.brandl, jcea, larry, ezio.melotti, Arfrever, skrah, flox, santoso.wijaya, python-dev, einarfd, danielsh |
| 2013年01月04日 14:59:18 | eli.bendersky | link | issue16076 messages |
| 2013年01月04日 14:59:18 | eli.bendersky | create |
|