Yury Selivanov added the comment: > Is it safe to use the _callback and _args attributes of asyncio.Handle? Is it > possible to officially expose them as public API?
I'd be -1 on exposing them. Alternative asyncio event loop implementations such as uvloop don't have those attributes, and it's not always possible to add them. > My use case: > def reschedule(handle): > event_loop.call_later(new_delay, handle._callback, *handle._args) > handle.cancel() Why don't you just call `event_loop.call_later(delay, callback)`? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue29415> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com