[issue5370] unpickling vs. __getattr__
Gabriel Genellina
report at bugs.python.org
Sat Mar 14 02:50:44 CET 2009
Gabriel Genellina <gagsl-py2 at yahoo.com.ar> added the comment:
This doc update should warn people about the need to implement
__getinitargs__ / __getnewargs__ when the instance relies on some
internal invariants that must be preserved, and reiterates the
important fact that __init__ / __new__ are NOT normally invoked.
The patch is against trunk; wording for 3.x should omit references to
__getinitargs__ and __init__.
----------
assignee: -> georg.brandl
components: +Documentation, Library (Lib)
keywords: +patch
nosy: +georg.brandl
versions: +Python 2.7, Python 3.1 -Python 2.5
Added file: http://bugs.python.org/file13327/pickle.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5370>
_______________________________________
More information about the Python-bugs-list
mailing list