8000 gh-128974: Fix `UnicodeError.__str__` when custom attributes have side-effects by picnixz · Pull Request #128975 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-128974: Fix UnicodeError.__str__ when custom attributes have side-effects #128975

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 10 commits into from
Mar 1, 2025
Prev Previous commit
Next Next commit
update NEWS
  • Loading branch information
picnixz committed Jan 18, 2025
commit 7d4d6a0ca603cd78c2c0eb5fd379a733888f5dbb
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Fix a crash in :meth:`UnicodeError.__str__` when custom attributes have
side-effects on :attr:`UnicodeError.object`. Patch by Bénédikt Tran.
Fix a crash in :meth:`UnicodeError.__str__ <object.__str__>` when custom
attributes implement :meth:`~object.__str__` with side-effects.
Patch by Bénédikt Tran.
Loading
0