【发布时间】:2016-08-28 08:34:06
【问题描述】:
我有这个代码:
try:
asyncio.ensure_future(data_streamer.sendByLatest())
except ValueError as e:
logging.debug(repr(e))
data_streamer.sendByLatest() 可以引发ValueError,但不会被捕获。
【问题讨论】:
标签: python python-3.x exception python-asyncio