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 Zhibin Dong
Recipients Zhibin Dong, asvetlov, yselivanov
Date 2020-02-13.07:09:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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.
Date User Action Args
2020-02-13 07:09:49Zhibin Dongsetrecipients: + Zhibin Dong, asvetlov, yselivanov
2020-02-13 07:09:49Zhibin Dongsetmessageid: <>
2020-02-13 07:09:49Zhibin Donglinkissue39622 messages
2020-02-13 07:09:48Zhibin Dongcreate