[issue1692335] Fix exception pickling: Move initial args assignment to BaseException.__new__
Richard Oudkerk
report at bugs.python.org
Sun Jul 29 14:24:55 CEST 2012
Richard Oudkerk added the comment:
> Richard, can the issue be closed?
I guess so (although the change could arguably be back ported).
Pickling of Exception classes is still somewhat dodgy because an example like
class Error(Exception):
def __init__(self, x):
Exception.__init__(self)
self.x = x
is still not picklable.
Any further improvements can be discussed in a separate issue, so I will close.
----------
resolution: -> fixed
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1692335>
_______________________________________
More information about the Python-bugs-list
mailing list