-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python3 v0.11.0 HTTPConnectionWithTimeout AttributeError proxy_info #97
Conversation
Codecov Report
@@ Coverage Diff @@
## master #97 +/- ##
==========================================
+ Coverage 68.52% 68.58% +0.05%
==========================================
Files 6 6
Lines 2456 2454 -2
==========================================
Hits 1683 1683
+ Misses 773 771 -2
Continue to review full report at Codecov.
|
How come you use |
@germanjoey in case you want to send another patch, here's an update on what's going on with tests.
|
@germanjoey put this patch into your pull request if you want to keep authorship: cdb5d03 it also fixes same issue with HTTP-S-connection and puts test into new suite. |
Oh I see, thank you man! Applied your patch and pushed it again. |
Please merge this asap :) |
Please, use |
@temoto aren't HTTP(S)Connection types selected automatically here https://github.com/httplib2/httplib2/blob/master/python3/httplib2/__init__.py#L1378 when |
@sfontana yes they are selected, I don't see where you're going with that. Let me make things crystal clear:
|
@temoto |
LGTM |
Merged 5468fe3 Thank you @germanjoey |
Fix was released on PyPI 0.11.1 |
When proxy_info=None, HTTPConnectionWithTimeout's constructor will not set proxy_info to anything, which therefore triggers an AttributeError when connect is called.
For example, this test script:
Results in: