In gen.throw(), are all three
arguments required? Or do the value
and traceback Nones need to be listed explicitly? g.throw(MyException) or g.throw(MyException, None, None) FWIW, I prefer the former. That will make throw() as flexible as
the raise statement. Raymond |
_______________________________________________ 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