[Python-3000] have zip() raise exception for sequences of different lengths
barry at python.org
Thu Aug 31 17:44:53 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
On Aug 31, 2006, at 11:38 AM, Jim Jewett wrote:
> On 8/30/06, Barry Warsaw <barry at python.org> wrote:
>> What about a keyword argument called 'filler' which can be an n-sized
>> sequence or a callable.
> How about a keyword-only argument called finish which is a callable to
> deal with the problem? When any sequence is exhausted, its position
> is filled with StopIteration, and then finish(result) is returned.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the Python-3000