mirror of
https://github.com/python/cpython.git
synced 2025-12-08 06:10:17 +00:00
[3.9] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122120)
This commit is contained in:
parent
54b5e9e9a8
commit
9e9c71d09e
5 changed files with 34 additions and 0 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue