-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
AttributeError: 'NoneType' object has no attribute 'cancel' #1720
Labels
Comments
fafhrd91
added a commit
that referenced
this issue
Mar 16, 2017
fixed, I will make new release today |
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Long story short
With recent 1.3 release we start to receive this kind of crash report.
The problem start with this commit: 4be5043
The problem seem to arrive when we pass timeout=None to request. But it doesn't seem to be always the case.
The problem in _request is if you pass None to the TimeoutHandle you will get a None handle
And we will use this handle later:
The code of handle in TimeoutHandle:
Is it wrong to pass None as a timeout?
The text was updated successfully, but these errors were encountered: