X Tutup
Skip to content

[3.13] gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746)#128023

Merged
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-7303f06-3.13
Dec 17, 2024
Merged

[3.13] gh-126742: Add _PyErr_SetLocaleString, use it for gdbm & dlerror messages (GH-126746)#128023
serhiy-storchaka merged 1 commit intopython:3.13from
miss-islington:backport-7303f06-3.13

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Dec 17, 2024

  • Add a helper to set an error from locale-encoded char*
  • Use the helper for gdbm & dlerror messages
    (cherry picked from commit 7303f06)

Co-authored-by: Bénédikt Tran 10796600+picnixz@users.noreply.github.com
Co-authored-by: Victor Stinner vstinner@python.org

…r messages (pythonGH-126746)

- Add a helper to set an error from locale-encoded `char*`
- Use the helper for gdbm & dlerror messages
(cherry picked from commit 7303f06)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup