-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-93627: Align Python implementation of pickle with C implementation of pickle #103035
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
Merged
Merged
Changes from all commits
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
9939a1c
align python implementation of pickle, c implementation of pickle and…
eendebakpt 29445b9
review comments
eendebakpt 95cbf77
review comments
eendebakpt 31d3b05
Merge branch 'main' into pickle_93627
eendebakpt e928112
Merge branch 'pickle_93627' of github.com:eendebakpt/cpython into pic…
eendebakpt fa2a741
📜🤖 Added by blurb_it.
blurb-it[bot] dfc4ef2
Merge branch 'pickle_93627' of github.com:eendebakpt/cpython into pic…
eendebakpt 3e6e4eb
format news entry
eendebakpt 92362c1
remove unused exception
eendebakpt bab3dab
Merge branch 'main' into pickle_93627
eendebakpt 3a6c8c5
Merge branch 'pickle_93627' of github.com:eendebakpt/cpython into pic…
eendebakpt 9c5cd38
align C and python pickle implementations
eendebakpt a8a797c
Merge branch 'main' into pickle_93627
eendebakpt 1f1b2ff
Merge branch 'main' into pickle_93627
eendebakpt ec8d1c7
Merge branch 'main' into pickle_93627
eendebakpt 889f2ab
Merge branch 'main' into pickle_93627
eendebakpt 1900578
rename NoValue to private _NoValue
eendebakpt d822705
reverse changes to copy.py
eendebakpt c900f53
Merge branch 'main' into pickle_93627
eendebakpt a366dc5
revert style changes
eendebakpt 2e7fbb7
Merge branch 'pickle_93627' of github.com:eendebakpt/cpython into pic…
eendebakpt e43d962
Merge branch 'main' into pickle_93627
eendebakpt 1e79c83
update news entry
eendebakpt 90a06d3
Merge branch 'pickle_93627' of github.com:eendebakpt/cpython into pic…
eendebakpt 789fe8c
Merge branch 'main' into pickle_93627
eendebakpt 30ffb7c
Merge branch 'main' into pickle_93627
eendebakpt 3a88607
Merge branch 'main' into pickle_93627
eendebakpt dc7d33e
Merge branch 'main' into pickle_93627
eendebakpt d365a44
revert spelling mistake in exception message as it is part of the pub…
eendebakpt 1bf64c0
revert adding comment to pickle c implementation
eendebakpt f275ede
Merge branch 'main' into pickle_93627
eendebakpt 3548dc3
Update Misc/NEWS.d/next/Core and Builtins/2023-03-26-19-11-10.gh-issu…
eendebakpt 250accc
add unit test for None value of __setstate__
eendebakpt 1ea9a1b
Merge branch 'main' into pickle_93627
eendebakpt e58f4a1
fix tests
eendebakpt b1bd83c
add test for reduced_override
eendebakpt f565513
add test for dispatch table
eendebakpt 4a928aa
whitespace
eendebakpt 39ab1ed
fix test
eendebakpt f694005
move docstrings
eendebakpt 833b2fb
Merge branch 'main' into pickle_93627
eendebakpt c803480
refactor tests
eendebakpt 7f3ee96
fix typo
eendebakpt 1f02ab2
whitespace
eendebakpt f9dd613
Merge branch 'main' into pickle_93627
eendebakpt File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2023-03-26-19-11-10.gh-issue-93627.0UgwBL.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Update the Python pickle module implementation to match the C implementation of the pickle module. For objects setting reduction methods like :meth:`~object.__reduce_ex__` or :meth:`~object.__reduce__` to ``None``, pickling will result in a :exc:`TypeError`. |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.