-
-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
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
Comments
ZeroIntensity
added
extension-modules
C modules in the Modules dir
topic-subinterpreters
labels
Oct 31, 2024
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]>
picnixz
added
3.13
bugs and security fixes
3.14
new features, bugs and security fixes
labels
Oct 31, 2024
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! |
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
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: