Марк Коренберг <[email protected]> added the comment:
@gvanrossum
More real code:
async def xxxx():
while True:
try:
result = await download()
handle_result(result)
except Exception as e:
log.warning('Fail..%r', e)
await asyncio.sleep()
Why sucha a code is fault ?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue32528>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com