From: Brett Cannon Date: Mon, 12 May 2003 07:31:53 +0000 (+0000) Subject: Remove assert that checked if a parameter was an instance of Request. Closes patch... X-Git-Tag: v2.3c1~753 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=24b2bc365467218ee719f6155d04b1f2962742c1;p=python Remove assert that checked if a parameter was an instance of Request. Closes patch #639139. --- diff --git a/Lib/urllib2.py b/Lib/urllib2.py index 57de99ca31..923ba9c840 100644 --- a/Lib/urllib2.py +++ b/Lib/urllib2.py @@ -319,7 +319,6 @@ class OpenerDirector: req = fullurl if data is not None: req.add_data(data) - assert isinstance(req, Request) # really only care about interface result = self._call_chain(self.handle_open, 'default', 'default_open', req)