Author jackdied
Recipients ajaksu2, benjamin.peterson, jackdied, jml
Date 2009-07-27.00:12:33
SpamBayes Score 0.000122737
Marked as misclassified No
Message-id <>
The code that raises the error is in ceval.c which is a critical path. 
The raise is done as soon the iterator has one more item than is needed
(see Daniel Diniz's comments on infinite iterators).  While the check
could return more useful information for known non-infinite iterators
(tuples, lists, etc) it would have to do a big if/else for all the core
types (but excluding their subclasses!).  If someone wants to submit
that patch and a benchmark that shows no slowdown I'll reopen the bug.

Until then I'm closing as WONTFIX.
Date User Action Args
2009-07-27 00:12:36jackdiedsetrecipients: + jackdied, ajaksu2, benjamin.peterson, jml
2009-07-27 00:12:36jackdiedsetmessageid: <>
2009-07-27 00:12:35jackdiedlinkissue3071 messages
2009-07-27 00:12:34jackdiedcreate