[Python-ideas] asyncore: included batteries don't fit
Greg Ewing
greg.ewing at canterbury.ac.nz
Wed Oct 17 09:30:16 CEST 2012
Matthias Urlichs wrote:
> (1) It's a whole lot easier to debug a problem with gevent than with anything
> which uses yield / Deferreds / asyncore / whatever. With gevent, you get a
> standard stack trace. With anything else, the "where did this call come from"
> information is not part of the call chain
With yield-from this is no longer true -- you get exactly the same
traceback from a yield-from call chain that you would get from the
corresponding ordinary call chain, without having to do anything
special. This is one of the beauties of it.
--
Greg
More information about the Python-ideas
mailing list