Tanganelli / CoAPthon3

CoAPthon3 is a porting to python3 of my CoAPthon library. CoAPthon3 is a python3 library to the CoAP protocol compliant with the RFC. Branch is available for the Twisted framework.
MIT License
58 stars 50 forks source link

Replace all isSet function calls with is_set #49

Open Quinten-Ryckbosch opened 1 year ago

Quinten-Ryckbosch commented 1 year ago

The new is_set() snake-case spelling has been available since Python 2.6: https://docs.python.org/2/library/threading.html#threading.Event.is_set

The old isSet() camel-case spelling raises a deprecation warning with Python 3.10: https://docs.python.org/3.10/whatsnew/3.10.html#deprecated