Message50394
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(). |
|
| Date |
User |
Action |
Args |
| 2007-08-23 15:52:26 | admin | link | issue1498370 messages |
| 2007-08-23 15:52:26 | admin | create | |
|