New submission from Andrew Svetlov <andrew.svet...@gmail.com>: Asyncio supports custom future and task by third-party loop implementation. Abstract classes for them is needed.
AbstractTask should not have set_result()/set_exception() maybe, is this case abstract base is needed (AbstractPromise, AbstractCancellableValue or whatever). ---------- components: Library (Lib), asyncio messages: 308543 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Add AbstractFuture and AbstractTask versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32364> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com