Re: [PATCH] Don't use select on files under windows



On Tue, Apr 14, 2009 at 10:51 PM, Vincent Legoll
<vincent legoll gmail com> wrote:
> On Tue, Apr 14, 2009 at 10:03 PM, Vincent Legoll
> <vincent legoll gmail com> wrote:
>> I tried to run meld on windows and managed to get it to work,
>> we still need to patch the code (patches coming) but it's only
>> to fix small glitches.
>
> First
>
> select.select() does not work on files under windows,
> use a dummy function instead.

Maybe a small sleep to avoid being a hog?

In the future maybe the multiprocessing module is an option
http://docs.python.org/library/multiprocessing.html
(there are backports to 2.4 & 2.5)
Alternatively it would be nice if there was a replacement
for popen which did IPC over a socket so that it would
just work.

Stephen.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]