[PATCH 0 of 1] Replacing select.select() with os.fstat() which works also on windows.

Zbynek Winkler zwin at users.sourceforge.net
Tue Sep 27 14:05:37 CDT 2005


The select() implementation on windows uses sockets library so it can be called only with sockets descriptors. Using os.fstat() to peek if there is a data available in the pipe works on both linux and windows (tested on WinXP+python.org and Debian testing).


More information about the Mercurial mailing list