vpelletier / python-libusb1

Python ctype-based wrapper around libusb1
GNU Lesser General Public License v2.1
168 stars 65 forks source link

threading.Condition.notifyAll has been deprecated in favour of notify_all in Python 3.10 #70

Closed tirkarthi closed 3 years ago

tirkarthi commented 3 years ago

threading.Condition.notifyAll has been deprecated in favour of notify_all in Python 3.10. Ref : python/cpython#25174

rg -t py -w 'currentThread|notifyAll|activeCount|isDaemon|setDaemon' 
usb1/__init__.py
2218:                        self.__context_cond.notifyAll()
2296:            self.__context_cond.notifyAll()
vpelletier commented 3 years ago

Fixed by 694d3927b1d116a493a85d3b8ddfcc2401adc7c2 (rebased commit from #71 ).