[issue23074] asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O

2014-12-17 Thread STINNER Victor
New submission from STINNER Victor: 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. -- components: asyncio files: get_event_loop.patch keywords: patch messages:

[issue23074] asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O

2014-12-17 Thread Roundup Robot
Roundup Robot added the comment: 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 -- nosy: +python-dev ___ Python

[issue23074] asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O

2014-12-17 Thread STINNER Victor
STINNER Victor added the comment: Change applied to Python 3.4, 3.5 and Tulip (c6115bc83acc). Thanks for the review Guido. -- resolution: - fixed status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23074

[issue23074] asyncio: get_event_loop() must always raise an exception, even when assertions are disabled by -O

2014-12-17 Thread STINNER Victor
STINNER Victor added the comment: I also updated aiotest test suite: https://bitbucket.org/haypo/aiotest/commits/d6f544a16a8f55729268d8d4b8d864d1b0af2d12 -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23074