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.12:08:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1517486916.43.0.467229070634.issue32741@psf.upfronthosting.co.za>
In-reply-to
Content
Should just return self._when attribute.

I need it for testing purposes.
Without the method there is no possibility to figure out scheduled wakeup time.
An alternative is waiting for callback but the approach increases unittest execution time and not very reliable.

I don't like looking into `handler._when` private property, uvloop does not expose it.

Ned, is it possible to include the feature into Python 3.7? 
The change is safe and tiny, no backward compatibility problems etc.
History
Date User Action Args
2018-02-01 12:08:36asvetlovsetrecipients: + asvetlov, ned.deily, yselivanov
2018-02-01 12:08:36asvetlovsetmessageid: <1517486916.43.0.467229070634.issue32741@psf.upfronthosting.co.za>
2018-02-01 12:08:36asvetlovlinkissue32741 messages
2018-02-01 12:08:36asvetlovcreate