[Python-Dev] Asynchronous context manager in a typical network server

Szieberth Ádám sziebadam at gmail.com
Fri Dec 18 16:39:12 EST 2015


> I guess we could make the default arg to sleep() 1e9. Or make it None and
> special-case it.

By writing the OP, I considered suggesting this approach and rejected. I would 
have suggest the  using Ellipsis (`...`) for the special case which seemed to 
explain more what is done plus it can hardly given unintentionally. I ended up 
suggesting `wait_forever()` though.

Ádám
(http://szieberthadam.github.io/)


More information about the Python-Dev mailing list