You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# If so, convert coroutine to Deferred automatically.
returntask.react(w)
else:
# Otherwise, run the Deferred.
returntask.react(f)
Under Python 3, line 63 is True, but if line 65 is False (so f is not a coroutine function) , the function ends. Should the else on line 70 be dropped, and lines 71 and 72 unindented?
The text was updated successfully, but these errors were encountered:
The
session.run()
function has no path for a non-coroutine function being passed in, it'll simply return without callingtwisted.react()
:requests-threads/requests_threads.py
Lines 61 to 72 in b4d4384
Under Python 3, line 63 is
True
, but if line 65 isFalse
(sof
is not a coroutine function) , the function ends. Should theelse
on line 70 be dropped, and lines 71 and 72 unindented?The text was updated successfully, but these errors were encountered: