[Patches] [ python-Patches-988504 ] urllib2.AbstractHTTPHandler broken

SourceForge.net noreply at sourceforge.net
Sat Jul 10 17:28:44 CEST 2004


Patches item #988504, was opened at 2004-07-10 16:28
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=988504&group_id=5470

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: John J Lee (jjlee)
Assigned to: Nobody/Anonymous (nobody)
Summary: urllib2.AbstractHTTPHandler broken

Initial Comment:
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.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=988504&group_id=5470


More information about the Patches mailing list