bbangert / beaker

WSGI middleware for sessions and caching
https://beaker.readthedocs.org/
Other
517 stars 147 forks source link

Python 3.10 : Threading related deprecations #211

Closed tirkarthi closed 2 years ago

tirkarthi commented 3 years ago

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()
Narendra-Neerukonda commented 3 years ago

https://github.com/bbangert/beaker/pull/213