On 12/7/2021 10:41 AM, Mark Shannon wrote:
I would like to announce latest PEP, PEP 669: Low Impact Monitoring for CPython.
The aim of this PEP is to provide an API for profilers, debuggers and other tools to avoid the punitive overhead of using sys.settrace.
If you have any interest in profilers, debuggers, coverage tools or anything of that ilk, then do please take a look.
There is no change to the language and it adds 7 functions to the sys module, so shouldn't be too intrusive for those of who aren't planning on implementing any of those tools.
As always, all feedback and comments are welcome.
You can read the PEP here: https://python.github.io/peps/pep-0669/
To me, all auditing events are 'monitoring' events. You might call these particular events 'code' or 'control' or 'flow' events. The sys module doc currently consists of a nearly alphabetical list of all attributes, whether data or methods. This batch will need some discussion as a group. -- Terry Jan Reedy