-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-111623 Serialize tuples with sub interpreters #111628
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
34 commits
Select commit
Hold shift + click to select a range
6eb3562
Initial design for shareable tuples
tonybaloney d3a5cfc
Add memory error
tonybaloney 439b652
Add a check for XID allocation failures
tonybaloney 2d8602d
Add blurb
tonybaloney 3711bb5
tweaks for pep7
tonybaloney 7072d36
Add tests for non shareable tuples
tonybaloney 448d017
Merge branch 'main' into serialize_tuples
tonybaloney d6f386f
fix patchcheck
tonybaloney fa958b3
Merge branch 'serialize_tuples' of github.com:tonybaloney/cpython int…
tonybaloney 08cdfcb
Update Misc/NEWS.d/next/Core and Builtins/2023-11-02-15-00-57.gh-issu…
tonybaloney 654689e
Update Lib/test/test_interpreters.py
tonybaloney 994fab0
Add two fault cases
tonybaloney 302dc8d
Update test__xxsubinterpreters.py
tonybaloney 86c1494
Update test__xxsubinterpreters.py
tonybaloney 3b30b77
Update test__xxsubinterpreters.py
tonybaloney 9abda96
Update test__xxsubinterpreters.py
tonybaloney 82f4836
Update test__xxsubinterpreters.py
tonybaloney 0fc4eab
Update test_interpreters.py
tonybaloney e234be8
Update 2023-11-02-15-00-57.gh-issue-111623.BZxYc8.rst
tonybaloney 1b3bb14
Update crossinterp.c
tonybaloney e70dba9
Update crossinterp.c
tonybaloney c883040
Update crossinterp.c
tonybaloney 7acf36f
Update crossinterp.c
tonybaloney beae22a
Update crossinterp.c
tonybaloney 063c8f7
Update crossinterp.c
tonybaloney 0bd3b88
Update the previous two blurbs to match this one
tonybaloney e40381c
Merge branch 'main' into serialize_tuples
tonybaloney 97f281c
Add a recursion check
tonybaloney 3b96658
Merge branch 'serialize_tuples' of github.com:tonybaloney/cpython int…
tonybaloney f4ee75f
Update Python/crossinterp.c
tonybaloney 1e1141e
Update Python/crossinterp.c
tonybaloney 1ea81a3
Fix parens mismatch
tonybaloney a18939a
Refactor to avoid the failure case running PyMem_RawFree on already f…
tonybaloney b986e3d
Merge branch 'main' into serialize_tuples
tonybaloney 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
3 changes: 2 additions & 1 deletion
3
Misc/NEWS.d/next/Core and Builtins/2023-10-29-11-35-21.gh-issue-111435.ageUWQ.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 |
---|---|---|
@@ -1 +1,2 @@ | ||
Added support for sharing of bool type with interpreters API. | ||
Add support for sharing of True and False between interpreters using the cross-interpreter | ||
API. Patch by Anthony Shaw. |
3 changes: 2 additions & 1 deletion
3
Misc/NEWS.d/next/Core and Builtins/2023-10-29-12-33-33.gh-issue-111438.bHTLLl.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 |
---|---|---|
@@ -1 +1,2 @@ | ||
Added support for sharing of float type with interpreters API. | ||
Add support for sharing floats between interpreters using the cross-interpreter | ||
API. Patch by Anthony Shaw. |
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core and Builtins/2023-11-02-15-00-57.gh-issue-111623.BZxYc8.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,2 @@ | ||
Add support for sharing tuples between interpreters using the cross-interpreter | ||
API. Patch by Anthony Shaw. |
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll work on that.