mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
[3.12] gh-121957: Emit audit events for python -i and python -m asyncio (GH-122117)
This commit is contained in:
parent
6e9b3f79fe
commit
c1e834dd78
5 changed files with 22 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue