[issue22392] Clarify documentation of __getinitargs__

2017-03-30 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue22392] Clarify documentation of __getinitargs__

2017-03-30 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: New changeset 2ee01ecf419a392f0b6a33ca10d1f747adb6c43a by Mariatta (Mandeep Singh) in branch '2.7': [2.7] bpo-22392: Improve documentation for __getinitargs__ (GH-899) https://github.com/python/cpython/commit/2ee01ecf419a392f0b6a33ca10d1f747adb6c43a ---

[issue22392] Clarify documentation of __getinitargs__

2017-03-29 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +alexandre.vassalotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue22392] Clarify documentation of __getinitargs__

2017-03-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See more detailed description in PEP 307. -- nosy: +serhiy.storchaka stage: needs patch -> patch review ___ Python tracker ___ ___

[issue22392] Clarify documentation of __getinitargs__

2017-03-29 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +801 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22392] Clarify documentation of __getinitargs__

2017-03-29 Thread Roundup Robot
Changes by Roundup Robot : -- pull_requests: +800 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue22392] Clarify documentation of __getinitargs__

2016-10-01 Thread Mariatta Wijaya
Changes by Mariatta Wijaya : -- nosy: +Mariatta ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue22392] Clarify documentation of __getinitargs__

2016-09-28 Thread Berker Peksag
Berker Peksag added the comment: https://docs.python.org/2/library/pickle.html#object.__getinitargs__ states: "If it is desirable that the __init__() method be called on unpickling, an old-style class can define a method __getinitargs__(), which should return a tuple containing the arguments t

[issue22392] Clarify documentation of __getinitargs__

2014-09-11 Thread David Gilman
New submission from David Gilman: Implementations of __getinitargs__ return a tuple of the positional arguments for __init__. This wasn't initially apparent to me after reading the docs: I thought you were passing a tuple (args, kwargs) that would get called f(*args, **kwargs) and had to go