Skip to content

currentThread was deprecated in Python 3.10 in favour of current_thread #1464

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

Closed
tirkarthi opened this issue Apr 18, 2021 · 0 comments · Fixed by #1465
Closed

currentThread was deprecated in Python 3.10 in favour of current_thread #1464

tirkarthi opened this issue Apr 18, 2021 · 0 comments · Fixed by #1465

Comments

@tirkarthi
Copy link
Contributor

Ref : python/cpython#25174

rg -t py -w 'currentThread|notifyAll|activeCount|isDaemon|setDaemon' 
debug_toolbar/utils.py
255:            thread = threading.currentThread()
262:            thread = threading.currentThread()

debug_toolbar/panels/logging.py
81:        self._records[threading.currentThread()] = records

debug_toolbar/panels/staticfiles.py
121:        self._paths[threading.currentThread()] = used_paths
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

Successfully merging a pull request may close this issue.

1 participant