SystemError
caused by _interpreters.create()
with invalid unicode argument
#126223
Labels
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
extension-modules
C modules in the Modules dir
topic-subinterpreters
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
It's possible to make a debug build of Python abort by passing an invalid Unicode argument to
_interpreters.create()
, resulting inSystemError: <built-in function create> returned a result with an exception set
.Found using fusil by @vstinner.
CPython versions tested on:
CPython main branch
Operating systems tested on:
Linux, Windows
Linked PRs
_interpreters.create()
#126224_interpreters.create()
(GH-126224) #126242The text was updated successfully, but these errors were encountered: