Why asyncio didnt work?

This bug will not trigger in interactive mode. But the interactive mode will also be triggered after running debug.py The content of debug.py is exactly the same as the command entered in the interactive mode.

>>> import asyncio
>>> async def main():
...   print(1)
...
>>> asyncio.run(main())
1
>>> quit()
% cd repo
% python debug.py
Traceback (most recent call last):
  File "/data/data/com.termux/files/home/repo/debug.py", line 4, in <module>
    asyncio.run(main())
  File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/runners.py", line 103, in run
    and signal.getsignal(signal.SIGINT) is signal.default_int_handler
        ^^^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'getsignal'
% python
Python 3.11.9 (main, Jul  9 2024, 07:06:39) [Clang 17.0.2 (https://android.googlesource.com/toolchain/llvm-project d9f89f4d1 on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import asyncio
>>> async def main():
...   print(1)
...
>>> asyncio.run(main())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/data/data/com.termux/files/usr/lib/python3.11/asyncio/runners.py", line 103, in run
    and signal.getsignal(signal.SIGINT) is signal.default_int_handler
        ^^^^^^^^^^^^^^^^
AttributeError: module 'signal' has no attribute 'getsignal'

You may have another module called ‘signal’ overriding the built-in ‘signal’ module.