[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Exceptions in Python Implementations of Virtuals
From: Chris Colbert <sccolbert () gmail ! com>
Date: 2014-09-30 21:24:44
Message-ID: CAPc_zRX9EnApwJcAXqhMQgdux+_d+2gLFnJ+07gPuFxMn1C0WQ () mail ! gmail ! com
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
On Tue, Sep 30, 2014 at 5:06 PM, Phil Thompson <phil@riverbankcomputing.com>
wrote:
> On 30/09/2014 9:25 pm, Chris Colbert wrote:
>
>> I don't think anyone in this thread has advocated silently ignoring
>> errors.
>>
>
> Anybody who is advocating maintaining the current behaviour as the default
> is doing exactly that.
>
>
How so? We still have sys.excepthook, and can redirect stdout and stderr to
a log file, email it to an app maintainer, show it in a debug panel in the
app, etc... All these things work and are in-use today.
I also don't know how to make myself any more clear. Not once have I
suggested that the current behavior should remain the default. I've only
maintained that hard aborting the app is the wrong choice. And once again
I'll refer to my first post:
"""
It would be nice to have an easier way than except hooks to be able to
detect and handle these cases, and I think exploring options in that space
is worthy of discussion. But I think qFatal is certainly the wrong approach
here.
"""
[Attachment #5 (text/html)]
<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep \
30, 2014 at 5:06 PM, Phil Thompson <span dir="ltr"><<a \
href="mailto:phil@riverbankcomputing.com" \
target="_blank">phil@riverbankcomputing.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span \
class="">On 30/09/2014 9:25 pm, Chris Colbert wrote:<br> <blockquote \
class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
I don't think anyone in this thread has advocated silently ignoring errors.<br>
</blockquote>
<br></span>
Anybody who is advocating maintaining the current behaviour as the default is doing \
exactly that.<span class="im"><br><br></span></blockquote><div><br></div><div>How so? \
We still have sys.excepthook, and can redirect stdout and stderr to a log file, email \
it to an app maintainer, show it in a debug panel in the app, etc... All these things \
work and are in-use today.</div><div><br></div><div>I also don't know how to make \
myself any more clear. Not once have I suggested that the current behavior should \
remain the default. I've only maintained that hard aborting the app is the wrong \
choice. And once again I'll refer to my first \
post:</div><div><br></div><div>"""</div><div><span \
style="font-family:arial,sans-serif;font-size:13px">It would be nice to have an \
easier way than except hooks to be able to detect and handle these cases, and I think \
exploring options in that space is worthy of discussion. But I think qFatal is \
certainly the wrong approach here.</span></div><div><span \
style="font-family:arial,sans-serif;font-size:13px">"""</span></div><div><br></div></div><br></div></div>
[Attachment #6 (text/plain)]
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic