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

This commit is contained in:
Łukasz Langa 2024-07-22 13:41:23 +02:00 committed by GitHub
parent 6e9b3f79fe
commit c1e834dd78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 22 additions and 1 deletions

View file

@ -89,6 +89,8 @@ class REPLThread(threading.Thread):
if __name__ == '__main__':
sys.audit("cpython.run_stdin")
loop = asyncio.new_event_loop()
asyncio.set_event_loop(loop)