I opened http://code.google.com/p/tulip/issues/detail?id=154 to track
this.

General comment: shouldn't call_at() and call_later() have the same
check?



https://codereview.appspot.com/67400043/diff/1/asyncio/base_events.py
File asyncio/base_events.py (right):

https://codereview.appspot.com/67400043/diff/1/asyncio/base_events.py#newcode281
asyncio/base_events.py:281: "call_soon() invoked on event loop other
than current one")
On 2014/02/23 06:28:21, davidfstr wrote:
I would prefer to use a more specific exception such as an equivalent
to Java's
IllegalStateException, but I am not aware of any such exception for
Python.

I'd use RuntimeError.

https://codereview.appspot.com/67400043/

Reply via email to