-
-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Labels
Description
Last year, Python introduced audit hooks to the language.
In short, this is an API allowing users to:
- subscribe to certain actions (for instance, file system access)
- prevent certain calls (for instance, preventing accessing a file)
- add userland hooks (we could have some in DB libraries for instance)
Another bonus is that we could add a hook to eval and finally provide a good way to monitor its usage.
I remember that Microsoft team was intereted in having such an API (I understand they drove the effort in Python).
For reference, the Python spec is here https://www.python.org/dev/peps/pep-0578/
Is there any strong opinions on that topic?
lirantal, SomeoneWeird, MarcinHoppe, xee5ch, mischnic and 1 more