
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2017-03-27 08:01 byserhiy.storchaka, last changed2022-04-11 14:58 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 843 | merged | serhiy.storchaka,2017-03-27 08:12 | |
| Messages (2) | |||
|---|---|---|---|
| msg290567 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-03-27 08:01 | |
The special method __reduce__() doesn't take arguments, the special method __reduce_ex__() takes one mandatory argument. But default implementations in the object class takes one optional argument. This looks as an oversign. Proposed patch fixes signatures of object.__reduce__() and object.__reduce_ex__(). | |||
| msg291323 -(view) | Author: Serhiy Storchaka (serhiy.storchaka)*![]() | Date: 2017-04-08 06:53 | |
New changeset205e00c5cfd495a4dc6dae8e8fa0fb828fb3dca9 by Serhiy Storchaka in branch 'master':bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843)https://github.com/python/cpython/commit/205e00c5cfd495a4dc6dae8e8fa0fb828fb3dca9 | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:58:44 | admin | set | github: 74100 |
| 2017-04-08 06:56:08 | serhiy.storchaka | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2017-04-08 06:53:01 | serhiy.storchaka | set | messages: +msg291323 |
| 2017-04-07 15:50:25 | serhiy.storchaka | set | assignee:serhiy.storchaka |
| 2017-03-27 08:12:13 | serhiy.storchaka | set | pull_requests: +pull_request740 |
| 2017-03-27 08:01:08 | serhiy.storchaka | create | |