[py-dev] Request for enhancing Exception handling in execnet

Guido Wesdorp johnny at johnnydebris.net
Tue May 6 12:54:02 CEST 2008


Carl Friedrich Bolz wrote:
> Execnet is using only marshal, afaik. However, it should be possible to
> be at least a bit more informative and give RemoteError a name attribute
> or so that gives the name of the remote exception class. Just giving
> some message with traceback and everything makes it annoying to do
> anything with the exception object programmatically.
>
>   
Yes, I agree... Although I still think it's not easy to find a good way 
to send all the information (exception instance + traceback would be 
nice obviously) back over the channel, it would certainly be useful to 
do the minimal (set seperate instance name + message on the RemoteError 
instance for instance) compared to having a single explanation string...

Cheers,

Guido


More information about the py-dev mailing list