[3.9] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122120)

This commit is contained in:
Łukasz Langa 2024-07-22 13:49:47 +02:00 committed by GitHub
parent 54b5e9e9a8
commit 9e9c71d09e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 34 additions and 0 deletions

View file

@ -90,6 +90,8 @@ def run(self):
if __name__ == '__main__':
sys.audit("cpython.run_stdin")
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)