mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-43723: Fix deprecation error caused by thread.setDaemon() (GH-25361)
This commit is contained in:
parent
3447750073
commit
95bbb331ec
4 changed files with 7 additions and 7 deletions
|
@ -799,7 +799,7 @@ os.close(fd)
|
|||
|
||||
# Start the server thread and wait for it to be listening.
|
||||
thread = threading.Thread(target=server)
|
||||
thread.setDaemon(True)
|
||||
thread.daemon = True
|
||||
thread.start()
|
||||
addr = q.get()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue