-
-
Notifications
You must be signed in to change notification settings - Fork 33.2k
Closed as not planned
Description
Bug report
Bug description:
from threading import Thread
import time
def forward(a):
while True:
print(a)
time.sleep(1.0)
# print(c.vk['mclick'])
thread=[Thread(target=forward,args=(i,),daemon=True) for i in range(10)]
for t in thread: t.start()
When daemon=True, thread runs for 1 round then immediately exits main thread without errors.
CPython versions tested on:
3.13
Operating systems tested on:
Windows
Metadata
Metadata
Assignees
Labels
No labels
Projects
Status
Done