Skip to content

Threading related deprecation warnings in Python 3.10 #203

@tirkarthi

Description

@tirkarthi

Python 3.10 deprecates camelCase aliases in threading module.

Ref : python/cpython#25174

notifyAll -> notify_all
currentThread -> current_thread

dogpile/util/readwrite_lock.py
65:                # yes. so if a sync operation is waiting, notifyAll to wake
68:                    self.condition.notifyAll()
98:            self.current_sync_operation = threading.currentThread()
120:            if self.current_sync_operation is not threading.currentThread():

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