3 ms·
You must also detect "too long loops"… which is dangerously close to solving the halting problem.
by guappa 2y ago
You must also detect "too long loops"… which is dangerously close to solving the halting problem.
- kodablah 2y agoThis and other similar CPU-bound operations may be unreasonable to detect at analysis time. I would encourage users to run with asyncio debug mode in tests to help catch these: https://docs.python.org/3/library/asyncio-dev.html#debug-mode https://docs.python.org/3/library/asyncio-dev.html#debug-mod.... Granted that's runtime, but there are limitations on what analysis can perform, it's just meant to help catch obvious issues.