3.14: missing sys.implementation.supports_isolated_interpreters? #135645
Copy link
Copy link
Closed
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs 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_interpretersThis 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 interpretersCPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixes3.15bugs and security fixesbugs and security fixestopic-subinterpreterstype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
- StatusShow more project fieldsDone
Activity
pythongh-135645: Added `supports_isolated_interpreters` to `sys.imple…
vstinner commentedon Jun 18, 2025
cc @ericsnowcurrently
ericsnowcurrently commentedon Jun 18, 2025
Yeah, it was overlooked. We'll add it for 3.14b4. Thanks for noticing and pointing this out, @henryiii!
gh-135645: Added `supports_isolated_interpreters` to `sys.implementat…
pythongh-135645: Added `supports_isolated_interpreters` to `sys.imple…
sobolevn commentedon Jun 21, 2025
Done! Thanks everyone!
[3.14] gh-135645: Added `supports_isolated_interpreters` to `sys.impl…
pythongh-135645: Added `supports_isolated_interpreters` to `sys.imple…
pythongh-135645: Added `supports_isolated_interpreters` to `sys.imple…
pythongh-135645: Added `supports_isolated_interpreters` to `sys.imple…