Terry J. Reedy <tjre...@udel.edu> added the comment:
No crash on Windows running in CommandPrompt (using -i to ensure that python survives running the test code): C:\Users\Terry>py -3.10 -i f:/dev/tem/tem.py f:\dev\tem\tem.py:5: RuntimeWarning: coroutine 'f' was never awaited del f RuntimeWarning: Enable tracemalloc to get the object allocation traceback >>> quit() C:\Users\Terry>py -3.11 -i f:/dev/tem/tem.py f:\dev\tem\tem.py:5: RuntimeWarning: coroutine 'f' was never awaited del f RuntimeWarning: Enable tracemalloc to get the object allocation traceback >>> quit() Running in IDLE, I only see the first warning. (IDLE bug? python behavior difference? Don't know yet.) On 3.11, the remote process crashes and IDLE's Shell does an unrequested restart. ---------- nosy: +terry.reedy _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45813> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com