Question about Advanced Debugger Support C-API

Hello!
There is Advanced Debugger Support <https://docs.python.org/dev/c-api/init.html#advanced-debugger-support> API in CPython. I see that in CPython source code objects on which it operates are operated on while HEAD_LOCK() is acquired (1 <https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116...>, 2 <https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116...>, 3 <https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116...>, 4 <https://github.com/python/cpython/blob/71a3522ef85df06a3acc718107360e37e4116...>). But HEAD_LOCK() is not part of public C-API. So I wonder - is Advanced Debugger Support API really complete because it seems like it can't be used withotu HEAD_LOCK()/HEAD_UNLOCK().
Could someone please enlighten?
-- With kind regards, Andrew Pashkin. cell phone - +375 (44) 492-16-85 Skype - waves_in_fluids e-mail - andrew.pashkin@gmx.co.uk
participants (1)
-
Andrew Pashkin