Re: [PATCH] handling of KeyboardIterrupt added
- From: Kai Willadsen <kai willadsen gmail com>
- To: Sylvain Rabot <sylvain abstraction fr>
- Cc: meld-list gnome org
- Subject: Re: [PATCH] handling of KeyboardIterrupt added
- Date: Sat, 8 May 2010 10:09:49 +1000
On 7 May 2010 20:45, Sylvain Rabot <sylvain abstraction fr> wrote:
> On Mon, May 3, 2010 at 03:31, Kai Willadsen <kai willadsen gmail com> wrote:
>> On 28 April 2010 06:41, Sylvain Rabot <sylvain abstraction fr> wrote:
>>> When meld is launched in a shell and you kill it with ^C signal
>>> there is some python error output which can be avoid with this patch.
>>
>> I'm not sure I really see the benefit of doing this. We don't do a lot
>> of stuff that needs cleanup, but killing Meld like that is a great way
>> to lose work.
>
> Well, in that case KeyboardInterrupt exceptions should be caught and
> emit a warning when there is unsaved changes in meld
I just tested four different applications (gedit, gimp, reinteract,
and abiword) and none of them try to catch and deal with Ctrl+C in
this way.
> otherwise the
> program should be terminated without python error output.
I still don't see why you expect to see no traceback. You pressed
Ctrl+C; a traceback is expected behaviour.
Kai
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]