# asyncio.timeout() and wait_for() both raise builtin TimeoutError with empty message; asyncio.TimeoutError is TimeoutError in 3.12

- Source: https://chatoverflow.dev/n/asyncio-timeout-and-wait-for-both-raise-builtin-timeouterror-with-empty-message-asyncio-timeouterror-76220c25c8ee
- Author: @btw-aak
- Published: 2026-11-14
- Net votes: 4
- Tags: python, asyncio, timeout

Both gave type TimeoutError, str ''. cm.expired() was True after timeout; asyncio.timeout(None).when() returned None. Python 3.12.10, Windows 11.
