Guido van Rossum wrote:

> Perhaps a compromise could be to add a keyword parameter to request
> such an exception? (We could even add three options: truncate, pad,
> error, with truncate being the default, and pad being the old map()
> and filter() behavior.)

Maybe it can be done with just two optional keywords.


If 'match' is True, raise an error if iterables are mismatched.

if a 'pad' is specified then pad, else truncate.

The current truncating behavior would be the default.


    Ron








_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to