> -----Original Message----- > From: stackless-boun...@stackless.com [mailto:stackless- > boun...@stackless.com] On Behalf Of Richard Tew > Sent: 2. desember 2009 05:52 > To: Peter Ingebretson > Cc: stackless@stackless.com > Subject: Re: [Stackless] Exception passing patch > However, it goes against a previous change. Some time in the past > Christian removed sending of exception instances, and replaced it with > sending types and arguments. If the reasoning behind his change was > because of problems it caused, then that would of course rule out any > possibility of reversing it. > > Out of curiosity, can you give some examples of where you find it > useful to do this? >
Richard, wasn't the change a different one? In the old days, passing an exception instance to channel.send() would magically raise it on the receive() end. I think he added the send_exception() to explicitly send an exception. I too find it odd that one cannot send an exception instance over like this, although I've never came across a specific use case. K _______________________________________________ Stackless mailing list Stackless@stackless.com http://www.stackless.com/mailman/listinfo/stackless