Skip to content

3.14: missing sys.implementation.supports_isolated_interpreters? #135645

Open
@henryiii

Description

@henryiii

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

CC @ericsnowcurrently

CPython versions tested on:

3.14

Operating systems tested on:

macOS

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.14bugs and security fixes3.15new features, bugs and security fixestopic-subinterpreterstype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions