Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Threading.thread.setDaemon has been deprecated in Python 3.10 #1123

Closed
tirkarthi opened this issue May 31, 2021 · 1 comment
Closed

Threading.thread.setDaemon has been deprecated in Python 3.10 #1123

tirkarthi opened this issue May 31, 2021 · 1 comment

Comments

@tirkarthi
Copy link
Contributor

Ref : python/cpython#25174

self._thread.setDaemon(True)

Test warning reported in another repo :

  /root/checked_repos_clone/rq/.tox/py/lib/python3.10/site-packages/sentry_sdk/worker.py:69: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
    self._thread.setDaemon(True)
@tirkarthi
Copy link
Contributor Author

Sorry, I already reported it under #1092 . Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant