Select in Python

Lawrence D'Oliveiro ldo at geek-central.gen.new_zealand
Thu Jun 29 11:26:30 CEST 2006


In article <mailman.7484.1151389154.27775.python-list at python.org>,
 Gary Herron <gherron at islandtraining.com> wrote:

>If you want select to start blocking again, you must read all bytes from
>stdin whenever select says there are bytes to be read.

To add to this, it is a good idea to read the select_tut(2) man page, 
particularly the "SELECT LAW" section. There's a lot of dos and don'ts 
there on how to avoid common bugs.



More information about the Python-list mailing list