SIGN IN SIGN UP

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

- Add a helper to set an error from locale-encoded `char*`
- Use the helper for gdbm & dlerror messages

Co-authored-by: Victor Stinner <vstinner@python.org>
B
Bénédikt Tran committed
e0b61ffa3806cea2739172adf6e2bcbba3d5fba4
Parent: 6ac578c
Committed by GitHub <noreply@github.com> on 12/17/2024, 12:53:16 PM