Author Zhibin Dong
Recipients Zhibin Dong, asvetlov, yselivanov
Date 2020-02-13.07:09:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1581577789.38.0.529951784345.issue39622@roundup.psfhosted.org>
In-reply-to
Content
As shown in the code, when 0 is passed to asyncio.sleep function, sometimes the program does not exit when I press <Ctrl-C>. I must press <Ctrl-C> again to close the program. However, when a number, such as 0.01, which is bigger than 0, is passed to the sleep function, the program will exit as expected when I press <Ctrl-C> just once.

Is there any bug or just a wrong way to use? Thanks.
History
Date User Action Args
2020-02-13 07:09:49Zhibin Dongsetrecipients: + Zhibin Dong, asvetlov, yselivanov
2020-02-13 07:09:49Zhibin Dongsetmessageid: <1581577789.38.0.529951784345.issue39622@roundup.psfhosted.org>
2020-02-13 07:09:49Zhibin Donglinkissue39622 messages
2020-02-13 07:09:48Zhibin Dongcreate