[Python-ideas] thoughts on generator.throw()

Raymond Hettinger python at rcn.com
Wed Mar 18 21:04:12 CET 2009

>>>.  Even if I was good about catching exceptions, the
>>> point is that they're _exceptional_ cases, so they shouldn't be
>>> happening very often.

Not everyone programs that way.  Python has long
advertised exceptions for other than the exceptional.
You're misapplying C++ lore to Python.


More information about the Python-ideas mailing list