Re: [PATCH] Don't use select on files under windows
- From: Stephen Kennedy <stevek gnome org>
- To: Vincent Legoll <vincent legoll gmail com>
- Cc: meld-list <meld-list gnome org>
- Subject: Re: [PATCH] Don't use select on files under windows
- Date: Wed, 15 Apr 2009 22:57:42 +0100
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]