bpo-23403: Bump pickle.DEFAULT_PROTOCOL to 4#6355
Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
Please update docstrings, the module documentation, and What's New.
Sorry, something went wrong.
|
@pitrou Could you take a look? |
Sorry, something went wrong.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
There is other mention of the default protocol 3 in the module documentation.
Regenerate Argument Clinic files and fix tests.
Sorry, something went wrong.
|
@serhiy-storchaka, updated the remaining comment on default protocol 3, regenerated Argument Clinic. For the failing test, see my comment above, I'm not sure what the fix should be here. |
Sorry, something went wrong.
serhiy-storchaka
left a comment
There was a problem hiding this comment.
And maybe add a versionchanged directive somewhere in pickle.rst?
Sorry, something went wrong.
This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
|
Responded to remaining nits and rebased to include GH-6363. All tests pass now. |
Sorry, something went wrong.
|
@ambv: Please replace |
Sorry, something went wrong.
This makes performance better and produces shorter pickles. This change is backwards compatible up to the oldest currently supported version of Python (3.4).
https://bugs.python.org/issue23403