Skip to content

Support sharing of bool objects in sub interpreters #111435

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

Closed
tonybaloney opened this issue Oct 29, 2023 · 1 comment
Closed

Support sharing of bool objects in sub interpreters #111435

tonybaloney opened this issue Oct 29, 2023 · 1 comment
Labels
topic-subinterpreters type-feature A feature request or enhancement

Comments

@tonybaloney
Copy link
Contributor

tonybaloney commented Oct 29, 2023

Feature or enhancement

Proposal:

Bool is not a shareable type in the interpreters API.

Python 3.13.0a1+ (heads/master-dirty:66bea2555d, Oct 29 2023, 11:16:00) [GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import _xxsubinterpreters
>>> _xxsubinterpreters.is_shareable(True)
False

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

@tonybaloney tonybaloney added the type-feature A feature request or enhancement label Oct 29, 2023
ericsnowcurrently pushed a commit that referenced this issue Nov 2, 2023
gh-111436)

This only affects users of the APIs in pycore_crossinterp.h (AKA _xxsubinterpretersmodule.c and _xxinterpchannels.c).
@corona10
Copy link
Member

corona10 commented Nov 2, 2023

Looks like the issue can be closed!

@corona10 corona10 closed this as completed Nov 2, 2023
@github-project-automation github-project-automation bot moved this from Todo to Done in Subinterpreters Nov 2, 2023
FullteaR pushed a commit to FullteaR/cpython that referenced this issue 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 issue 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 issue 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
topic-subinterpreters type-feature A feature request or enhancement
Projects
Status: Done
Development

No branches or pull requests

3 participants