New submission from Andrei Pashkin :
Here is an example:
import tempfile
import os
with tempfile.NamedTemporaryFile() as temp:
os.remove(temp.name)
And here is an error it produces:
Traceback (most recent call last):
File "test.py", line 6, in
os.remove(temp.name)
New submission from Andrei Pashkin :
To me it seems like Advanced Debugger Support C-API doesn't make sense without
HEAD_LOCK() and HEAD_UNLOCK() which are private right now.
When researching how C-API works I've found this comment in the source code:
https://github.com/python/cp
Andrei Pashkin added the comment:
Here is what I mean by "Advanced Debugger Support" API:
https://docs.python.org/dev/c-api/init.html#advanced-debugger-support
--
___
Python tracker
<https://bugs.python.o