-
-
Notifications
You must be signed in to change notification settings - Fork 32k
SystemError
caused by _interpreters.create()
with invalid unicode argument
#126223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
3.13
bugs and security fixes
3.14
bugs and security fixes
extension-modules
C modules in the Modules dir
topic-subinterpreters
type-bug
An unexpected behavior, bug, or error
Comments
Confirmed, this is a pretty simple fix. I'll submit a patch. |
sobolevn
added a commit
that referenced
this issue
Oct 31, 2024
) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Oct 31, 2024
…pythonGH-126224) (cherry picked from commit 0141521) Co-authored-by: Peter Bierma <[email protected]> Co-authored-by: sobolevn <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
sobolevn
added a commit
that referenced
this issue
Oct 31, 2024
GH-126224) (#126242) gh-126223: Propagate unicode errors in `_interpreters.create()` (GH-126224) (cherry picked from commit 0141521) Co-authored-by: Peter Bierma <[email protected]> Co-authored-by: sobolevn <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
Closing since completed and backported. Thank you all! |
picnixz
added a commit
to picnixz/cpython
that referenced
this issue
Dec 8, 2024
…python#126224) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
ebonnal
pushed a commit
to ebonnal/cpython
that referenced
this issue
Jan 12, 2025
…python#126224) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Bénédikt Tran <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.13
bugs and security fixes
3.14
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: