classification
Title: asyncio "loop argument must agree with future" error message could be improved
Type: Stage: patch review
Components: asyncio Versions: Python 3.8
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: ZackerySpytz, asvetlov, r.david.murray, xtreak, yselivanov
Priority: normal Keywords: patch

Created on 2015-07-15 13:39 by r.david.murray, last changed 2019-04-15 19:25 by ZackerySpytz.

Pull Requests
URL Status Linked Edit
PR 12848 open ZackerySpytz, 2019-04-15 19:23
Messages (3)
msg246763 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-07-15 13:39
I just got the titular error message and had no idea what it meant until I looked at the source.  It seems to mean "the specified loop is different from the _loop attribute of the future-or-coroutine".  Since _loop is nominally private, perhaps the message could be "the future or coroutine belongs to a different loop than the one specified as the loop argument".
msg246765 - (view) Author: R. David Murray (r.david.murray) * (Python committer) Date: 2015-07-15 13:41
This error message is in tasks.py.
msg340304 - (view) Author: Zackery Spytz (ZackerySpytz) * Date: 2019-04-15 19:25
I've created a PR for this issue.
History
Date User Action Args
2019-04-15 19:25:24ZackerySpytzsetversions: + Python 3.8
nosy: + ZackerySpytz, yselivanov, asvetlov

messages: + msg340304

components: + asyncio
2019-04-15 19:23:46ZackerySpytzsetkeywords: + patch
stage: patch review
pull_requests: + pull_request12773
2018-09-22 18:14:31xtreaksetnosy: + xtreak
2015-07-15 13:41:12r.david.murraysetmessages: + msg246765
2015-07-15 13:39:50r.david.murraycreate