[issue25633] The documentation for urllib.request should mention http.client.HTTPException

2021-12-06 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> out of date stage: needs patch -> resolved status: pending -> closed ___ Python tracker ___

[issue25633] The documentation for urllib.request should mention http.client.HTTPException

2021-11-30 Thread Irit Katriel
Irit Katriel added the comment: Issue22797 was resolved by being more specific about when a URLError is raised, rather than mentioning other exceptions as well. Do we want to do more than that, or can this be closed as well? -- nosy: +iritkatriel status: open -> pending

[issue25633] The documentation for urllib.request should mention http.client.HTTPException

2015-11-16 Thread Martin Panter
Martin Panter added the comment: Closely related: Issue 22797 proposes documenting some circumstances where ValueError is raised directly. Perhaps you can review and enhance the patch already there. Also related: Issue 13736 proposes to wrap http.client exceptions (which I disagree with),

[issue25633] The documentation for urllib.request should mention http.client.HTTPException

2015-11-16 Thread jon orebro
New submission from jon orebro: The documentation for urllib.request should mention that a robust client using urllib.request must be prepared for exceptions of type http.client.HTTPException in addition to urllib.error.URLError. Example: the server breaks HTTP and returns an empty status