Issue 23074: asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O (original) (raw)
This issue has been migrated to GitHub: https://github.com/python/cpython/issues/67263
classification
Title: | asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O | ||
---|---|---|---|
Type: | Stage: | ||
Components: | asyncio | Versions: | Python 3.4, Python 3.5 |
process
Status: | closed | Resolution: | fixed |
---|---|---|---|
Dependencies: | Superseder: | ||
Assigned To: | Nosy List: | gvanrossum, python-dev, vstinner, yselivanov | |
Priority: | normal | Keywords: | patch |
Created on 2014-12-17 22:49 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.
Files | |||
---|---|---|---|
File name | Uploaded | Description | Edit |
get_event_loop.patch | vstinner,2014-12-17 22:49 | review |
Messages (4) | ||
---|---|---|
msg232830 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2014-12-17 22:49 |
Spinoff of the issue #22926: asyncio.get_event_loop() must always raise an exception, even when assertions are disabled by -O. Attached patch implements this suggestion. | ||
msg232844 - (view) | Author: Roundup Robot (python-dev) ![]() |
Date: 2014-12-18 00:22 |
New changeset b4dce0e695df by Victor Stinner in branch '3.4': Issue #23074: asyncio.get_event_loop() now raises an exception if the thread https://hg.python.org/cpython/rev/b4dce0e695df | ||
msg232845 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2014-12-18 00:22 |
Change applied to Python 3.4, 3.5 and Tulip (c6115bc83acc). Thanks for the review Guido. | ||
msg232846 - (view) | Author: STINNER Victor (vstinner) * ![]() |
Date: 2014-12-18 00:24 |
I also updated aiotest test suite: https://bitbucket.org/haypo/aiotest/commits/d6f544a16a8f55729268d8d4b8d864d1b0af2d12 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:11 | admin | set | github: 67263 |
2014-12-18 00:24:25 | vstinner | set | messages: + |
2014-12-18 00:22:53 | vstinner | set | status: open -> closedresolution: fixedmessages: + |
2014-12-18 00:22:04 | python-dev | set | nosy: + python-devmessages: + |
2014-12-17 22:49:12 | vstinner | create |