Giovanni Bajo wrote: > The situation (in Py3k) I was thinking is when people see this code: > > except: > # something > > and want to change it so to get a name to the exception object. I *think* many > could get confused and write: > > except Exception, e: > # something
If except clauses are changed to use "as", then as long as we're still allowing bare excepts, that could become except as e: ... Greg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com