Message179356
P = import_fresh_module('xml.etree.ElementTree', blocked=['_elementtree'])
tb = P.TreeBuilder(element_factory=lambda a, b: [a, b])
print(pickle.dumps(tb))
Gives: _pickle.PicklingError: Can't pickle <class 'function'>: attribute lookup builtins.function failed |
|
Date |
User |
Action |
Args |
2013-01-08 15:00:42 | eli.bendersky | set | recipients:
+ eli.bendersky, georg.brandl, jcea, larry, ezio.melotti, Arfrever, skrah, flox, santoso.wijaya, python-dev, einarfd, danielsh |
2013-01-08 15:00:42 | eli.bendersky | set | messageid: <1357657242.34.0.55047373045.issue16076@psf.upfronthosting.co.za> |
2013-01-08 15:00:42 | eli.bendersky | link | issue16076 messages |
2013-01-08 15:00:42 | eli.bendersky | create | |
|