This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gvanrossum, vstinner, yselivanov
Date 2014-11-28.13:11:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1417180307.83.0.275846599928.issue22926@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch without unit:

- modify get_event_loop() to always raise a RuntimeError if the thread has no event loop. Before an AssertionError was not raised if python runs with -O option
- modify BaseEventLoop._assert_is_current_event_loop() to fail if the thread has an event loop
- modify tests to set the event loop to the newly created event loop, instead of setting it to None
History
Date User Action Args
2014-11-28 13:11:47vstinnersetrecipients: + vstinner, gvanrossum, yselivanov
2014-11-28 13:11:47vstinnersetmessageid: <1417180307.83.0.275846599928.issue22926@psf.upfronthosting.co.za>
2014-11-28 13:11:47vstinnerlinkissue22926 messages
2014-11-28 13:11:47vstinnercreate