NotShareableError Should Inherit from TypeError #132781
Labels
3.14
new features, bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
topic-subinterpreters
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
Shareability is a feature of types, not values, so
NotShareableError
should be a subclass ofTypeError
, notValueError
.CPython versions tested on:
3.14, CPython main branch
Operating systems tested on:
No response
Linked PRs
crossinterp_exceptions.h
post gh-132782 #132989The text was updated successfully, but these errors were encountered: