Armin Ronacher <armin.ronac...@active-4.com> added the comment: A little bit of input on this issue. Considering that exceptions are now getting keyword arguments for things like import errors and other things for attributes I would find it much better if StopIteration would follow that as well (StopIteration(value=42) instead of StopIteration(42)).
---------- nosy: +aronacher _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11682> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com