[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2016-06-04 Thread Berker Peksag
Changes by Berker Peksag : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bu

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2016-06-04 Thread Martin Panter
Martin Panter added the comment: My guess is Michael was doing something like >>> class Monkey(http.client.HTTPSConnection): ... pass ... >>> http.client.HTTPSConnection = Monkey >>> http.client.HTTPSConnection("bugs.python.org") Traceback (most recent call last): File "", line 1, in F

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2016-06-04 Thread Jelle Zijlstra
Jelle Zijlstra added the comment: Could you provide a minimal code sample that demonstrates the problem? I'm having a hard time seeing why the http.client code is buggy. -- nosy: +Jelle Zijlstra ___ Python tracker

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-02-05 Thread Éric Araujo
Éric Araujo added the comment: super without arguments literally relies on a compiler hack. -- ___ Python tracker ___ ___ Python-bugs

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-02-04 Thread Michael Mulich
Michael Mulich added the comment: Sure does. But that's the point of the package. Why is this super usage without arguments considered a hack? > > ___ > Python tracker > > ___

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-02-03 Thread Éric Araujo
Éric Araujo added the comment: Hi, > wsgi_intercept has overridden http.client.HTTPSConnection with a class that > subclasses > HTTPSConnection and overrides a few methonds. Do you mean that the module is monkey-patched? > Fix the issue in http/client.py:1074 by replacing "super(HTTPSConnecti

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-01-11 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +Library (Lib) -None nosy: +orsenthil versions: -Python 3.4 ___ Python tracker ___ ___ Pyt

[issue13771] HTTPSConnection __init__ super implementation causes recursion error

2012-01-11 Thread Michael Mulich
New submission from Michael Mulich : While working on porting wsgi_intercept to Python 3 I came across a recursion issue with http.client.HTTPSConnection. The following is an lesser extraction of the traceback: Traceback (most recent call last): File ".../wsgi_intercept/test/test_httplib.py