Gabriel Genellina <gagsl-...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5370> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com