Author martin.panter
Recipients Jelle Zijlstra, eric.araujo, martin.panter, michael.mulich, orsenthil
Date 2016-06-05.01:15:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
My guess is Michael was doing something like

>>> class Monkey(http.client.HTTPSConnection):
...     pass
>>> http.client.HTTPSConnection = Monkey
>>> http.client.HTTPSConnection("")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.5/http/", line 1210, in __init__
  [. . .]
  File "/usr/lib/python3.5/http/", line 1210, in __init__
  File "/usr/lib/python3.5/http/", line 1209, in __init__
    super(HTTPSConnection, self).__init__(host, port, timeout,
RecursionError: maximum recursion depth exceeded while calling a Python object

Looking at <>, I think this problem has been overcome by also overriding __init__(). IMO Python shouldn’t go very far out of its way to support monkey patching, and in this case the workaround was disliked by Eric. Given these two facts and no apparent interest since, I think we should close this.
Date User Action Args
2016-06-05 01:15:43martin.pantersetrecipients: + martin.panter, orsenthil, eric.araujo, michael.mulich, Jelle Zijlstra
2016-06-05 01:15:43martin.pantersetmessageid: <>
2016-06-05 01:15:43martin.panterlinkissue13771 messages
2016-06-05 01:15:42martin.pantercreate