This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author max
Recipients gvanrossum, max, yselivanov
Date 2017-02-01.21:51:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1485985895.46.0.167923746012.issue29415@psf.upfronthosting.co.za>
In-reply-to
Content
Is it safe to use the _callback and _args attributes of asyncio.Handle? Is it possible to officially expose them as public API?

My use case: 

    handle = event_loop.call_later(delay, callback)

    # this function can be triggered by some events
    def reschedule(handle):
      event_loop.call_later(new_delay, handle._callback, *handle._args)
      handle.cancel()
History
Date User Action Args
2017-02-01 21:51:35maxsetrecipients: + max, gvanrossum, yselivanov
2017-02-01 21:51:35maxsetmessageid: <1485985895.46.0.167923746012.issue29415@psf.upfronthosting.co.za>
2017-02-01 21:51:35maxlinkissue29415 messages
2017-02-01 21:51:35maxcreate