-
-
Notifications
You must be signed in to change notification settings - Fork 34.1k
Open
Labels
OS-windowspendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
If I write any Python code and run it with a click, opening the Windows console, it works for the first few minutes. Five or fifteen minutes later, Windows puts my program into idle mode and it stops running.
Even if I instantiate a second thread with Flask listening for requests from a second program that is activated every five minutes by the Windows Task Scheduler.
My program simply goes into idle mode. Totally bizarre.
while True:
print(dt.datetime.now())
time.sleep(60)CPython versions tested on:
3.11
Operating systems tested on:
Windows
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
OS-windowspendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error