New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
copyreg doesn't support keyword only arguments in __new__ #48977
Comments
According to both of these bugs: http://bugs.python.org/issue1398 pickle can't pickle functools.partial objects. It looks the underlying |
http://bugs.python.org/issue1398 has already been fixed and closed. |
Please keep this open. This issue is separate from pickling partial objects. |
PEP-3154 implemented support for pickling classes taking keyword-only arguments. The copy module should be updated to use __getnewargs_ex__ when available through object.__reduce__(4). |
Here is a patch. |
New changeset 83cbf61a972b by Serhiy Storchaka in branch 'default': |
The patch actually was committed in changeset 34930a6faf0d. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: