Author rhettinger
Recipients
Date 2006-07-17.01:00:19
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=80475

Since starmap() is documented to behave like "yield 
function(*iterable.next())", I think this fixup can be 
considered a bugfix.  If Anthony is okay with this, it 
should into Py2.5.

While Jack's suggested modification leads to a 
conceptually simpler patch, I prefer an alternate version 
that only calls PySequence_Tuple() if PyTuple_CheckExact() 
fails.  That will make sure that we don't slow down the 
most common case.

Also, I prefer slightly different updates to the docs and 
test suite.  If Anthony approves for inclusion in Py2.5, I 
will upload my own version of a patch to starmap().
History
Date User Action Args
2007-08-23 15:52:26adminlinkissue1498370 messages
2007-08-23 15:52:26admincreate