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 asvetlov
Recipients asvetlov, ned.deily, yselivanov
Date 2018-02-01.15:09:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517497764.16.0.467229070634.issue32741@psf.upfronthosting.co.za>
In-reply-to
Content
In aiohttp we have HTTP keepalivve support.

A function schedules a delayed callback.
On processing a new request the callback is cancelled and rescheduled to a new time.

I like to check cancellation state (now it is possible with public API) and scheduled time.

I did the check with mocking but proposed method allows to do it easy and more obviously.
History
Date User Action Args
2018-02-01 15:09:24asvetlovsetrecipients: + asvetlov, ned.deily, yselivanov
2018-02-01 15:09:24asvetlovsetmessageid: <1517497764.16.0.467229070634.issue32741@psf.upfronthosting.co.za>
2018-02-01 15:09:24asvetlovlinkissue32741 messages
2018-02-01 15:09:24asvetlovcreate