Jason Tackaberry wrote:
> On Tue, 2005-08-02 at 16:36 +0200, Dirk Meyer wrote:
>> I see the problem. But how to you want to raise an exception
>> asynchronously. Where? In the main loop? Why do you need it? What do
>> you test in this case? Maybe an exception signal?
>
> Well, let's say there's an error in MPlayer that we want to translate to
> an exception.  So this exception gets raised inside the notifier loop
> (from SocketDispatcher).  How can we handle this exception?

I saw something in the changelog. What did you do?

> There's also another niggle ...
>
>    mp = MPlayer((800,600))
>    mp.play("foo.avi")

same question here.

> There's still the question of how to properly handle exceptions that
> occur from the notifier callbacks.

I guess exceptions are a bug in programming, so I don't see a reason
why the app should not crash with the exception.


Dischi

-- 
A tree never hits an automobile except in self-defence.

Attachment: pgpBADEh5B1lb.pgp
Description: PGP signature

Reply via email to