threading.Lock is no longer a factory but a regular type in Python 3.13. It’s just that you cannot make subclasses: Make `threading.{Lock,RLock}` factory functions subclassable
1 Like
threading.Lock is no longer a factory but a regular type in Python 3.13. It’s just that you cannot make subclasses: Make `threading.{Lock,RLock}` factory functions subclassable