bbangert/beaker

Python 3.10 : Threading related deprecations

tirkarthi opened this issue · 1 comments

Ref : python/cpython#25174

Camelcase aliases have been deprecated and raise deprecation warning.

notifyAll -> notify_all
currentThread -> current_thread

beaker/beaker/synchronization.py:                    self.condition.notifyAll()
beaker/beaker/synchronization.py:            if self.current_sync_operation is not _threading.currentThread():
beaker/beaker/synchronization.py:            self.condition.notifyAll()
beaker/beaker/synchronization.py:            self.current_sync_operation = _threading.currentThread()