-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
Closed
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixestopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
import sys
sys.implementation.supports_isolated_interpreters
This is missing, but the accepted PEP 734 says this is provided so implementations can avoid supporting isolated interpreters (GraalPy, for example, does not yet). Was it overlooked, perhaps?
I was using it like this with 3.14.0b3:
if (
sys.version_info >= (3, 14)
and (
sys.version_info != (3, 14, 0, "beta", 1)
or sys.version_info != (3, 14, 0, "beta", 2)
)
and sys.implementation.supports_isolated_interpreters
):
from concurrent import interpreters
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
ZeroIntensity
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15new features, bugs and security fixesnew features, bugs and security fixestopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done