You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
encodings.idna: Unexpanded f-string in "Unsupported error handling" exception #135069
Activity
danielhollas commentedon Jun 3, 2025
Note: I was inspired by the same issue reported in #134970 and used ruff linter to find this bug, specifically its RUF024 (missing-f-string-syntax) rule.
ruff check --target-version=py314 --preview --select RUF027 Lib/It found two other hits in
Lib/test/support/__init__.py, I'll file a separate issue for those.gh-135069: Fix exception message in encodings.idna module (#135071)
pythongh-135069: Fix exception message in encodings.idna module (pyth…
pythongh-135069: Fix exception message in encodings.idna module (pyth…
[3.14] gh-135069: Fix exception message in encodings.idna module (GH-…
[3.13] gh-135069: Fix exception message in encodings.idna module (GH-…
pythongh-135069: Fix exception message in encodings.idna module (pyt…
pythongh-135069: Fix exception message in encodings.idna module (pyt…
pythongh-135069: Fix exception message in encodings.idna module (pyt…
pythongh-135069: Fix exception message in encodings.idna module (pyt…
pythongh-135069: Fix exception message in encodings.idna module (pyt…