> > > On Mon, Nov 26, 2018 at 10:14:58PM +0000, Jonathan Fine wrote: > > > Briefly, I don't like your suggestion because many important iterables > > don't have a length! > > But many important iterables do. >
I agree many important iterables do have. On Mon, Nov 26, 2018 at 02:06:52PM -0800, Michael Selik wrote: > If you know the input is sizeable, why not check its length instead of the > map's? The consumer of map may not be the producer of map. Very good point. Honestly, i like the proposal but love to see more reviews on the idea. Maybe i am missing something.
_______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/