[docs] [issue37608] _thread: acquire_lock, release_lock still in use while declared to be "gone" in Documentation
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
type: -> enhancement
Python tracker <report at bugs.python.org>
More information about the docs