Why doesn't Python include non-blocking keyboard input function?

Marko Rauhamaa marko at pacujo.net
Tue Oct 25 08:45:03 EDT 2016


Chris Angelico <rosuav at gmail.com>:

> On Tue, Oct 25, 2016 at 11:09 PM, Marko Rauhamaa <marko at pacujo.net> wrote:
>> Blocking calls are evil.
>
> Oh, that's why. Got it. So because blocking calls are fundamentally
> evil, we have to... what? What's so bad about them? Remember, not
> every program is a server handling myriad clients.

Myriads or not, we are talking about interactive (or reactive) programs.
The paradigm of choice is event-driven programming.


Marko



More information about the Python-list mailing list