[issue37608] _thread: acquire_lock, release_lock still in use while declared to be "gone" in Documentation
Brett Cannon
report at bugs.python.org
Wed Jul 17 18:14:01 EDT 2019
Brett Cannon <brett at python.org> added the comment:
The documentation is correct by not documenting the methods as they are not meant to be used.
A warning could be added, but it requires new code to wrap the C function with a DeprecationWarning since that code is currently shared between thread.LockType.acquire() and acquire_lock().
----------
components: +Library (Lib) -Documentation
nosy: +brett.cannon
type: -> enhancement
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37608>
_______________________________________
More information about the Python-bugs-list
mailing list