Message172665
OTOH, xml.etree.cElementTree.Element in Python 3.2 and earlier has never been pickleable, either.
Python 3.2.3+ (3.2:24499eebbc2f, Oct 10 2012, 13:54:45)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from xml.etree.cElementTree import Element
>>> repr(Element)
'<built-in function Element>'
>>> import pickle
>>> pickle.dumps(Element('foo'))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
_pickle.PicklingError: Can't pickle <class 'Element'>: attribute lookup builtins.Element failed |
|
Date |
User |
Action |
Args |
2012-10-11 17:07:17 | santoso.wijaya | set | recipients:
+ santoso.wijaya, jcea, ezio.melotti, Arfrever, eli.bendersky, serhiy.storchaka, einarfd |
2012-10-11 17:07:17 | santoso.wijaya | set | messageid: <1349975237.2.0.236001858243.issue16076@psf.upfronthosting.co.za> |
2012-10-11 17:07:17 | santoso.wijaya | link | issue16076 messages |
2012-10-11 17:07:17 | santoso.wijaya | create | |
|