Skip to content

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

Closed
@tirkarthi

Description

@tirkarthi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions