> I just mentioned that porting effort for background. I still believe > that the actual proposal of making the arguments to a map(...) call > accessible from Python as attributes of the map object (ditto filter, > zip, etc.) is useful in its own right, rather than just having this > completely opaque iterator. +1. Throwing away information is almost always a bad idea. That was fixed with classes and kwargs in 3.6 which removes a lot of fiddle workarounds for example. Throwing away data needlessly is also why 2to3, baron, Parso and probably many more had to reimplement a python parser instead of using the built in. We should have information preservation and transparency be general design goals imo. Not because we can see the obvious use now but because it keeps the door open to discover uses later. / Anders _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
- Re: [Python-ideas] __len__() for map() Terry Reedy
- Re: [Python-ideas] __len__() for map() E. Madison Bray
- Re: [Python-ideas] __len__() for map() Jonathan Fine
- Re: [Python-ideas] __len__() for map() Chris Angelico
- Re: [Python-ideas] __len__() for map() E. Madison Bray
- Re: [Python-ideas] __len__() for map() Steven D'Aprano
- Re: [Python-ideas] __len__() for m... E. Madison Bray
- Re: [Python-ideas] __len__() f... Chris Angelico
- Re: [Python-ideas] __len__() f... E. Madison Bray
- Re: [Python-ideas] __len__() f... E. Madison Bray
- Re: [Python-ideas] __len__() for map() Anders Hovmöller
- Re: [Python-ideas] __len__() for m... Steven D'Aprano
- Re: [Python-ideas] __len__() f... Anders Hovmöller
- Re: [Python-ideas] __len__() f... Adrien Ricocotam
- Re: [Python-ideas] __len__() f... David Mertz
- Re: [Python-ideas] __len__() f... Adrien Ricocotam
- Re: [Python-ideas] __len__() f... Abe Dillon
- Re: [Python-ideas] __len__() f... E. Madison Bray
- Re: [Python-ideas] __len__() for map() Greg Ewing
- Re: [Python-ideas] __len__() for map() Steven D'Aprano
- Re: [Python-ideas] __len__() for map() E. Madison Bray