Skip to content

test_sys broken on Python 3.12 under WASI #112503

Closed
@brettcannon

Description

@brettcannon

Bug report

Bug description:

#110713 unconditionally imports test.support.interpreters which imports _xxsubinterpreters which fails since it isn't provided.

This doesn't fail on main because it has a guard against the import:

try:
from test.support import interpreters
except ImportError:
interpreters = None

CPython versions tested on:

3.12

Operating systems tested on:

Other

Linked PRs

Metadata

Metadata

Labels

3.12only security fixesOS-wasitype-bugAn unexpected behavior, bug, or error

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions