Opened 4 years ago
Closed 4 years ago
#32638 closed Cleanup/optimization (duplicate)
threading.Thread.setDaemon has been deprecated in Python 3.10
Reported by: | Xtreak | Owned by: | Xtreak |
---|---|---|---|
Component: | Utilities | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
It seems this has been used at https://github.com/django/django/blob/76c0b32f826469320c59709d31e2f2126dd7c505/django/utils/autoreload.py#L613 . This can be changed to directly set daemon attribute and the relevant test can be modified. I will create a pull request for this.
CPython PR : https://github.com/python/cpython/pull/25174
Change History (2)
comment:1 by , 4 years ago
Owner: | changed from | to
---|
comment:2 by , 4 years ago
Component: | Uncategorized → Utilities |
---|---|
Resolution: | → duplicate |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Duplicate of #32074.