Skip to content

NotShareableError Should Inherit from TypeError #132781

Closed
@ericsnowcurrently

Description

@ericsnowcurrently

Bug report

Bug description:

Shareability is a feature of types, not values, so NotShareableError should be a subclass of TypeError, not ValueError.

CPython versions tested on:

3.14, CPython main branch

Operating systems tested on:

No response

Linked PRs

Metadata

Metadata

Labels

3.14bugs and security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)topic-subinterpreterstype-bugAn unexpected behavior, bug, or error

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions