[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-04 Thread Marcin Raczyński
New submission from Marcin Raczyński : If we use pickle.HIGHEST_PROTOCOL we can pickle lxml.etree.Element object but unpickling give us misleading error description: >>> from lxml import etree >>> import pickle >>> import sys sys.version '2.7.15rc1 (default, Apr

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Marcin Raczyński
Marcin Raczyński added the comment: How are you sure that a bug is not in the CPython implementation of the pickle module but in the lxml? -- resolution: third party -> status: closed -> open ___ Python tracker <https://bugs.python.org/i

[issue34894] Unexpected error while unpickling lxml.etree.Element object

2018-10-05 Thread Marcin Raczyński
Marcin Raczyński added the comment: Thanks Serhiy for explanation! I quote your comment in a lxml issue tracker: https://bugs.launchpad.net/lxml/+bug/736708 -- resolution: -> wont fix status: open -> closed ___ Python tracker