[Stackless] Stackless API (Custom Scheduling)

Christian Tismer tismer at stackless.com
Sun Feb 1 06:41:03 CET 2004

Esteban U. Caamano Castro wrote:

[about exceptions in channels]

> Anyway, I fully agree with your point. This, um,
> exception in the semantics of ch.send() looks
> especially pointless considering there is a separate
> .send_exception() method to do the job. My naive guess
> is that this is just historic baggage.
> I too found exception raising through channels very
> handy. I think it would be cleanest that send()
> doesn't raise exceptions and keep .send_exception()
> for that (I'd rename it raise_exception though).

This doesn't help me, since the one is implemented
using the other :-)
What I actually would liek to achive is a simplification
of the send() code.
Maybe this is in fact possible, by decoupling send_exception.

ciao - chris

Christian Tismer             :^)   <mailto:tismer at stackless.com>
Mission Impossible 5oftware  :     Have a break! Take a ride on Python's
Johannes-Niemeyer-Weg 9a     :    *Starship* http://starship.python.net/
14109 Berlin                 :     PGP key -> http://wwwkeys.pgp.net/
work +49 30 89 09 53 34  home +49 30 802 86 56  mobile +49 173 24 18 776
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   http://www.stackless.com/

Stackless mailing list
Stackless at stackless.com

More information about the Stackless mailing list