Jonathan Schweder <jonathanschwe...@gmail.com> added the comment:
a.niederbuehl tasks are free of context, meaning that the task does not know what was done inside it, and by consequence is impossible to know when or not release a lock. This is by design and normally in these cases you need to be aware of the lock, by for example checking if the lock was released before cancelling the task. ---------- nosy: +jaswdr _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43991> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com