commit | 87bbefe1137d8bbe42503f6dc0633ff25be6868b | [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 | 7150881019f55b9a7d082eece14b6ce19d5c154c | |
parent | ee6bdc07d65d5df418ad9dc2bb7139666af9a6b2 [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.