This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author erezinman
Recipients erezinman, rhettinger, serhiy.storchaka
Date 2020-09-09.16:46:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1599669981.81.0.335588549524.issue41751@roundup.psfhosted.org>
In-reply-to
Content
The first argument can be remedied by creating a new method that deals with that (something like `def _new_init(cls)`, and passing the `cls` as argument).

The third argument is not really an argument - there is a bug that needs a precedent to be solved.

Concerning the second argument, I think it is only problematic when pickling in a new version of python and unpickling in an old one, and not vice versa (because the reduction from previous versions calls __init__). In the old->new direction, there wouldn't be much of a problem because the worst thing that happens, is that this bug could occur.
If that doesn't satisfy you, I hope that this change can be made in the future, when a version that allows such a lack of backward-compatibility is released.
History
Date User Action Args
2020-09-09 16:46:21erezinmansetrecipients: + erezinman, rhettinger, serhiy.storchaka
2020-09-09 16:46:21erezinmansetmessageid: <1599669981.81.0.335588549524.issue41751@roundup.psfhosted.org>
2020-09-09 16:46:21erezinmanlinkissue41751 messages
2020-09-09 16:46:21erezinmancreate