Skip to content

GH-111435 sharing of bool type in sub interpreters #111436

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 7 commits into from
Nov 2, 2023

Conversation

tonybaloney
Copy link
Contributor

@tonybaloney tonybaloney commented Oct 29, 2023

This PR adds sharing of bool type to the interpreters API

@corona10
Copy link
Member

----------------------------------------------------------------------
Traceback (most recent call last):
  File "D:\a\cpython\cpython\Lib\test\test_interpreters.py", line 816, in test_not_shareable
    self.assertFalse(
AssertionError: True is not false

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly LGTM

@ericsnowcurrently
Copy link
Member

Sorry, I moved the registry code to Python/crossinterp.c.

@tonybaloney
Copy link
Contributor Author

Sorry, I moved the registry code to Python/crossinterp.c.

rebased

Copy link
Member

@ericsnowcurrently ericsnowcurrently left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ericsnowcurrently
Copy link
Member

I'll merge this once you've had a chance to resolve the merge conflicts from the sharing-float PR.

@tonybaloney
Copy link
Contributor Author

Rebased and conflicts resolved

@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) November 1, 2023 23:42
@ericsnowcurrently
Copy link
Member

Thanks, @tonybaloney!

@ericsnowcurrently ericsnowcurrently merged commit 230e8e9 into python:main Nov 2, 2023
@tonybaloney tonybaloney deleted the serialize_bool branch November 2, 2023 01:18
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
…preters (pythongh-111436)

This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…preters (pythongh-111436)

This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…preters (pythongh-111436)

This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants