Skip to content

[3.15] gh-57945: Document exceptions not wrapped by urlopen() (GH-160830) - #160832

Merged
orsenthil merged 1 commit into
python:3.15from
miss-islington:backport-87f8c0d-3.15
Oct 28, 2026
Merged

orsenthil merged 1 commit into
python:3.15from
miss-islington:backport-87f8c0d-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Exceptions raised while reading or parsing the HTTP response, such as
http.client.HTTPException subclasses and OSError subclasses like
TimeoutError, propagate from urlopen() without being wrapped in
URLError. Document this, and that ValueError is raised for an invalid
URL.
(cherry picked from commit 87f8c0d)

Co-authored-by: Senthil Kumaran senthil@python.org
Co-authored-by: Claude Opus 5.5 noreply@anthropic.com

…H-160830)

Exceptions raised while reading or parsing the HTTP response, such as
http.client.HTTPException subclasses and OSError subclasses like
TimeoutError, propagate from urlopen() without being wrapped in
URLError.  Document this, and that ValueError is raised for an invalid
URL.
(cherry picked from commit 87f8c0d)

Co-authored-by: Senthil Kumaran <senthil@python.org>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Oct 28, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Oct 28, 2026
@orsenthil
orsenthil enabled auto-merge (squash) October 28, 2026 15:59
@orsenthil
orsenthil merged commit 493031d into python:3.15 Oct 28, 2026
38 of 39 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Oct 28, 2026
@miss-islington
miss-islington deleted the backport-87f8c0d-3.15 branch October 28, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants