On 2/9/07, Collin Winter <[EMAIL PROTECTED]> wrote:
> sys.exc_info() will be kept, while the sys.exc_{type,value,traceback}
> attributes will be dropped.I understand why, but that doesn't make me uncomfortable with keeping it. Maybe in "3.0 compatibility mode" 2.6 could attach tracebacks to exception objects so we could be weened off it in 2.6? > As an aside, should sys.exc_clear() be added to the to-drop list? Is > there still a need for it given Python 3's exception cleanup > semantics? I don't think so -- AFAIK the same use case is handled well enough by the cleanup semantics of the except clause. -- --Guido van Rossum (home page: http://www.python.org/~guido/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
