This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients asvetlov, terry.reedy, xxm, yselivanov
Date 2021-11-20.01:03:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637370237.63.0.683284498781.issue45813@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-11-20 01:03:57terry.reedysetrecipients: + terry.reedy, asvetlov, yselivanov, xxm
2021-11-20 01:03:57terry.reedysetmessageid: <1637370237.63.0.683284498781.issue45813@roundup.psfhosted.org>
2021-11-20 01:03:57terry.reedylinkissue45813 messages
2021-11-20 01:03:57terry.reedycreate