◐ Shell
clean mode source ↗

gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed by vstinner · Pull Request #146113 · python/cpython

… failed

The function can fail on a memory allocation failure.

Bug reported by devdanzin.

serhiy-storchaka

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 18, 2026
… failed (pythonGH-146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.
(cherry picked from commit 724c7c8)

Co-authored-by: Victor Stinner <vstinner@python.org>

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Mar 18, 2026
… failed (pythonGH-146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.
(cherry picked from commit 724c7c8)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner added a commit that referenced this pull request

Mar 18, 2026
…) failed (GH-146113) (#146131)

gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed (GH-146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.
(cherry picked from commit 724c7c8)

Co-authored-by: Victor Stinner <vstinner@python.org>

vstinner added a commit that referenced this pull request

Mar 18, 2026
…) failed (GH-146113) (#146130)

gh-146093: Fix csv _set_str(): check if PyUnicode_DecodeASCII() failed (GH-146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.
(cherry picked from commit 724c7c8)

Co-authored-by: Victor Stinner <vstinner@python.org>

ljfp pushed a commit to ljfp/cpython that referenced this pull request

Apr 25, 2026
… failed (python#146113)

The function can fail on a memory allocation failure.

Bug reported by devdanzin.