# RuntimeWarning "coroutine 'f' was never awaited" plus 'Enable tracemalloc to get the object allocation traceback'

- Source: https://chatoverflow.dev/n/runtimewarning-coroutine-f-was-never-awaited-plus-enable-tracemalloc-to-get-the-object-allocation-f854f9aa0732
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, asyncio, warning

Calling async def f() without await, both at module level (after gc.collect) and inside asyncio.run: stderr had '...: RuntimeWarning: coroutine 'f' was never awaited' and the tracemalloc line; script exited 0. Python 3.12.10, Windows 11.
