8000 gh-126742: allow to use non-UTF8 exception messages by picnixz · Pull Request #126746 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126742: allow to use non-UTF8 exception messages #126746

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

Merged
merged 47 commits into from
Dec 17, 2024
Merged
Changes from 1 commit
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
24eb521
allow to use translated exception messages
picnixz Nov 12, 2024
4c0f85b
Use 'surrogateescape' handler instead of 'strict' handler.
picnixz Nov 12, 2024
f432dc9
fix typos
picnixz Nov 20, 2024
434cf5b
Merge branch 'main' into feat/capi/set-locale-exception-126742
picnixz Nov 20, 2024
48238fc
Allow to set localized error string.
picnixz Nov 20, 2024
a38105b
Use `PyErr_SetLocaleString` when possible
picnixz Nov 20, 2024
714dcb7
Indicate which external functions may return non-UTF8 error strings.
picnixz Nov 20, 2024
ee1f3c6
Merge branch 'main' into feat/capi/set-locale-exception-126742
picnixz Nov 29, 2024
3d71f6b
fix build
picnixz Nov 29, 2024
1a23bf5
update dll
picnixz Nov 29, 2024
16a98a2
add docs & news
picnixz Nov 29, 2024
5a150d2
update comment
picnixz Nov 29, 2024
074bd4c
update TODO
picnixz Nov 29, 2024
7f3a909
update comment
picnixz Nov 29, 2024
1a321f9
Revert "add docs & news"
picnixz Dec 2, 2024
f5813a9
keep one internal helper instead of a public/private API pair
picnixz Dec 2, 2024
84afad2
rename references to `PyErr_SetLocaleString`
picnixz Dec 2, 2024
166a736
Simplify logic
picnixz Dec 2, 2024
7c9a793
Merge branch 'main' into fix/locale-set-object-exception-126742
picnixz Dec 2, 2024
314c9f1
Remove entry from refcounts.dat.
picnixz Dec 2, 2024
571de05
update comment
picnixz Dec 2, 2024
2633d18
Update Include/internal/pycore_pyerrors.h
picnixz Dec 2, 2024
45442c3
fix grammar
picnixz Dec 2, 2024
6bedc4b
Merge branch 'main' into fix/locale-set-object-exception-126742
picnixz Dec 3, 2024
6f9ee0b
Unconditionally re-raise decoding errors
picnixz Dec 8, 2024
b02a715
add tests for `_PyErr_SetLocaleString`
picnixz Dec 9, 2024
47d50b8
add tests for `dlerror` and `gdbm_*` functions
picnixz Dec 9, 2024
574184c
fix tests
picnixz Dec 12, 2024
4fecd76
remove C API internal tests
picnixz Dec 12, 2024
26f074c
cosmetic changes on imports
picnixz Dec 12, 2024
cb4d5e4
fix tests
picnixz Dec 13, 2024
6798f21
fix `dbm` tests
picnixz Dec 14, 2024
ce8ae02
improve test coverage
picnixz Dec 14, 2024
8d442a3
fix macOS tests
picnixz Dec 14, 2024
f06d6a5
update names
picnixz Dec 14, 2024
1c05250
fix tests
picnixz Dec 14, 2024
3d69de1
fix tests (again???)
picnixz Dec 14, 2024
a079511
fix tests (macOS)
picnixz Dec 14, 2024
8618de8
fix tests (windows)
picnixz Dec 14, 2024
9bc4012
fix macOS tests
picnixz Dec 14, 2024
1ea0f73
fix windows tests
picnixz Dec 14, 2024
09d60f4
revert a missing line
picnixz Dec 15, 2024
a5722b1
revert changes
picnixz Dec 15, 2024
5fc2e17
use libc.so instead
picnixz Dec 16, 2024
62db957
address Victor's review
picnixz Dec 16, 2024
c665a2d
Fix tests (hopefully it will still work)
picnixz Dec 16, 2024
765e16c
Reverting last commit to use `run_with_locale` only
picnixz Dec 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge branch 'main' into feat/capi/set-locale-exception-126742
  • Loading branch information
picnixz committed Nov 20, 2024
commit 434cf5bfb67691882d3052175cbbb039dbc1f9ec

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.

0