Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:
I've seen his patch and am working on my own variant that also attaches the index value as a separate field in the args tuple. The problem may be that it slows down the code -- at first I thought that didn't matter, but someone made a good effort to make the existing code fast (possibly to support cases where IndexError is used for control flow instead of for error conditions). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5353> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com