raising the signleton NotImplemented actually raises a TypeError and not NotImplementedError - This issue can cause wrong exception handling or even no handling
MODIFY
urllib3/request.py
urllib3/request.py
@@ -44,7 +44,7 @@ class RequestMethods(object):
def urlopen(self, method, url, body=None, headers=None,
encode_multipart=True, multipart_boundary=None,
**kw): # Abstract
- raise NotImplemented("Classes extending RequestMethods must implement "
+ raise NotImplementedError("Classes extending RequestMethods must implement "
"their own ``urlopen`` method.")
def request(self, method, url, fields=None, headers=None, **urlopen_kw):

raising the signleton NotImplemented actually raises a TypeError and not NotImplementedError - This issue can cause wrong exception handling or even no handling