Repository navigation
Commit 2e3437c
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>
1 parent 4a79b92 commit 2e3437c
1 file changed
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
71 | 81 | | |
72 | 82 | | |
73 | 83 | | |
| |||
0 commit comments