[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

2019-06-11 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-

[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

2019-06-03 Thread Andrew Svetlov
Andrew Svetlov added the comment: Could you consider passing (async_func, args, kwargs) tuple instead async_func(*args, **kwargs) coroutine? Looks like it solves your problem and doesn't require asyncio changes -- ___ Python tracker

[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

2018-08-22 Thread ppperry
ppperry added the comment: Does calling `coro.close()` not work? -- nosy: +ppperry ___ Python tracker ___ ___ Python-bugs-list mail

[issue34467] No mechanism to abort created coroutine or suppress not-awaited warning

2018-08-22 Thread Sheng Zhong
New submission from Sheng Zhong : As far as I know, there is no mechanism for aborting a created coroutine instance before it's executed with an await (directly or indirectly). I have a function which takes in coroutine instances and conditionally creates a task for them that I track so that