diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-21 10:00:52 +0100 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-21 10:00:52 +0100 |
commit | 87bbefe1137d8bbe42503f6dc0633ff25be6868b (patch) | |
tree | 7150881019f55b9a7d082eece14b6ce19d5c154c /Lib/formatter.py | |
parent | ee6bdc07d65d5df418ad9dc2bb7139666af9a6b2 (diff) | |
download | cpython-git-87bbefe1137d8bbe42503f6dc0633ff25be6868b.tar.gz |
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.
Diffstat (limited to 'Lib/formatter.py')
0 files changed, 0 insertions, 0 deletions