commit | 93569c2b3d48b36df80635dbe3c02e3d5baa00d7 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Fri Mar 21 10:00:52 2014 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Fri Mar 21 10:00:52 2014 +0100 |
tree | 0b00d71b628b2fbd5e99caafb56e5a05b396614c | |
parent | 4137465bf546964736e45bed16a15d05000b26e8 [diff] |
asyncio: Ensure call_soon(), call_later() and call_at() are invoked on current loop in debug mode. Raise a RuntimeError if the event loop of the current thread is different. The check should help to debug thread-safetly issue. Patch written by David Foster.