diff options
author | Peter Bierma <zintensitydev@gmail.com> | 2024-10-31 14:14:37 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 14:14:37 (GMT) |
commit | 01415213d72504eafc159721a8f55d57b374fd9c (patch) | |
tree | b807990380d31ed9096230f9e08de0228fc23e85 /Misc | |
parent | 8c22eba877225ab29cd64672dcb97f09a5f7336f (diff) | |
download | cpython-01415213d72504eafc159721a8f55d57b374fd9c.zip cpython-01415213d72504eafc159721a8f55d57b374fd9c.tar.gz cpython-01415213d72504eafc159721a8f55d57b374fd9c.tar.bz2 |
gh-126223: Propagate unicode errors in `_interpreters.create()` (#126224)
Co-authored-by: sobolevn <mail@sobolevn.me>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2024-10-30-23-42-44.gh-issue-126223.k2qooc.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-10-30-23-42-44.gh-issue-126223.k2qooc.rst b/Misc/NEWS.d/next/Library/2024-10-30-23-42-44.gh-issue-126223.k2qooc.rst new file mode 100644 index 0000000..fee391c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2024-10-30-23-42-44.gh-issue-126223.k2qooc.rst @@ -0,0 +1,2 @@ +Raise a :exc:`UnicodeEncodeError` instead of a :exc:`SystemError` upon +calling :func:`!_interpreters.create` with an invalid Unicode character. |