This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: urllib2.AbstractHTTPHandler broken
Type: Stage:
Components: None Versions:
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, jjlee
Priority: high Keywords: patch

Created on 2004-07-10 15:28 by jjlee, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
urllib2.py.patch jjlee, 2004-07-10 15:28
Messages (2)
msg46336 - (view) Author: John J Lee (jjlee) Date: 2004-07-10 15:28
urllib2.AbstractHTTPHandler lost half of a change that
went in with patch 852995 in 1.57.  The attached patch
fixes it again.

Jeremy removed half of that change in 1.63.  Looks like
he mistakenly thought it was a bug he introduced in
1.59.  In fact, the change introduced in 1.63 broke
HTTP error handling.  To reproduce the bug, run the
tests at the end of urllib2.py

The issue is that AbstractHTTPHandler no longer handles
HTTP errors.  HTTPErrorProcessor does that now.

Seems nobody remembers to run those tests.  I wonder
again whether at least some of them should live in the
main test suite.
msg46337 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2004-07-10 15:35
Logged In: YES 
user_id=11375

Checked into CVS HEAD; thanks!
History
Date User Action Args
2022-04-11 14:56:05adminsetgithub: 40533
2004-07-10 15:28:44jjleecreate