Hello again, > Why not move f_exc_* into the PyTryBlock struct? We can eliminate the > per-thread exception and have sys.exc_info() search the stack for an > active except block. No need to swap anything because the stack is > always current.
Yes it's a possible implementation. At the expense of a performance hit for operations which currently use tstate->exc_* (sys.exc_info() itself, bare "raise"...). Right now I have a patch using my original implementation proposal. I'll post it soon. regards Antoine. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com