[issue45112] Python exception object is different after pickle.dumps and pickle.loads

Raymond Hettinger report at bugs.python.org
Mon Sep 6 12:40:31 EDT 2021


Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:

It would be nice if exception pickling was more friendly to subclasses.  Perhaps, the default should be to store and restore all state including args and a __dict__ if any.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45112>
_______________________________________


More information about the Python-bugs-list mailing list