Author silentstrike
Recipients
Date 2007-07-10.04:14:47
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
A bug bit me where I had code that looked like

urllib2.build_opener(func_returning_cookie_jar())

instead of

urllib2.build_opener(HTTPCookieProcessor(func_returning_cookie_jar())

the subsequent http request went through just fine, except it didn't send the cookie.  Nothing complained, except me, now.

Throwing the exception deeper in the code made the unittest fail, so I suspect the "silently ignore handlers which don't actually do any handling" behavior might be by design, but it seems terrible to me.
History
Date User Action Args
2007-08-23 15:58:57adminlinkissue1750931 messages
2007-08-23 15:58:57admincreate