How to pop the interpreter's stack?

Carl Banks pavlovevidence at gmail.com
Thu Dec 23 05:54:52 EST 2010


On Dec 22, 7:22 pm, Steven D'Aprano <steve
+comp.lang.pyt... at pearwood.info> wrote:
> There should be a mechanism for Python functions to distinguish between
> unexpected exceptions (commonly known as "bugs"), which should be
> reported as coming from wherever they come from, and documented, expected
> exceptions, which should be reported as coming from the function
> regardless of how deep the function call stack really is.

No, -100.  The traceback isn't the place for this.  I've never
disagreed with you more, and I've disagreed with you and awful lot.


Carl Banks



More information about the Python-list mailing list