Skip to content

gh-143930: Tweak the exception message and increase test coverage - #146476

Merged
ambv merged 5 commits into
python:mainfrom
ambv:gh-143930-followup
Apr 3, 2026
Merged

ambv merged 5 commits into
python:mainfrom
ambv:gh-143930-followup

Conversation

@ambv

@ambv ambv commented Mar 26, 2026 •

Copy link
Copy Markdown
Contributor

Based on comments left by Copilot on the backport PRs, there's two minor improvements that I made to the original vulnerability fix.

Comment thread Lib/test/test_webbrowser.py Resolved
@picnixz

picnixz commented Mar 31, 2026

Copy link
Copy Markdown
Member

@ambv Before merging can you include the changes in #147948 please?

@picnixz

picnixz commented Mar 31, 2026

Copy link
Copy Markdown
Member

Adding a DO-NOT-MERGE so that you don't forget about it.

@ambv
ambv merged commit 3681d47 into python:main Apr 3, 2026
47 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @ambv for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11, 3.12, 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 3, 2026
…ge (pythonGH-146476)

(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@miss-islington-app

Copy link
Copy Markdown

Sorry, @ambv, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3681d47a440865aead912a054d4599087b4270dd 3.13
@bedevere-app

bedevere-app Bot commented Apr 3, 2026

Copy link
Copy Markdown

GH-148042 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Apr 3, 2026
@miss-islington-app

Copy link
Copy Markdown

Sorry, @ambv, I could not cleanly backport this to 3.12 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3681d47a440865aead912a054d4599087b4270dd 3.12
@miss-islington-app

Copy link
Copy Markdown

Sorry, @ambv, I could not cleanly backport this to 3.11 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3681d47a440865aead912a054d4599087b4270dd 3.11
@miss-islington-app

Copy link
Copy Markdown

Sorry, @ambv, I could not cleanly backport this to 3.10 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 3681d47a440865aead912a054d4599087b4270dd 3.10
ambv added a commit that referenced this pull request Apr 3, 2026
…age (GH-146476) (GH-148042)

(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv added a commit to ambv/cpython that referenced this pull request Apr 3, 2026
… coverage (pythonGH-146476)

(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
@bedevere-app

bedevere-app Bot commented Apr 3, 2026

Copy link
Copy Markdown

GH-148045 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Apr 3, 2026
ambv added a commit that referenced this pull request Apr 3, 2026
ambv added a commit to ambv/cpython that referenced this pull request Apr 3, 2026
… coverage (pythonGH-146476) (pythonGH-148045)

(cherry picked from commit 89bfb8e)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 3681d47)
ambv added a commit that referenced this pull request Apr 3, 2026
…age (GH-146476) (GH-148045) (GH-148051)

(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 3, 2026
… coverage (pythonGH-146476) (pythonGH-148045) (pythonGH-148051)

(cherry picked from commit cc02351)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 3, 2026
… coverage (pythonGH-146476) (pythonGH-148045) (pythonGH-148051)

(cherry picked from commit cc02351)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)
ambv added a commit that referenced this pull request Apr 3, 2026
…age (GH-146476) (GH-148045) (GH-148051) (GH-148053)

(cherry picked from commit cc02351)
(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ambv added a commit that referenced this pull request Apr 3, 2026
…age (GH-146476) (GH-148045) (GH-148051) (GH-148052)

(cherry picked from commit cc02351)
(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
ljfp pushed a commit to ljfp/cpython that referenced this pull request Apr 25, 2026
icanhasmath pushed a commit to ActiveState/cpython that referenced this pull request Oct 28, 2026
… coverage (pythonGH-146476) (pythonGH-148045) (pythonGH-148051) (pythonGH-148053)

(cherry picked from commit cc02351)
(cherry picked from commit 89bfb8e)
(cherry picked from commit 3681d47)

Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit 591ed89)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants