Hi all, Is "itertools.chain" actually that common? Sufficiently common to warrant its own syntax?
In my experience, "enumerate" is far more common among the iterable operations. And that doesn't have special syntax either. A minimal proposal would be to promote "chain" to builtins. Stephan 2017-06-27 10:40 GMT+02:00 Greg Ewing <greg.ew...@canterbury.ac.nz>: > David Mertz wrote: >> >> I just wish I could think of a good character that doesn't have some very >> different meaning in other well-known contexts (even among iterables). > > > (a;b) > > Should be unambiguous as long as the parens are required. > > -- > Greg > > _______________________________________________ > Python-ideas mailing list > Python-ideas@python.org > https://mail.python.org/mailman/listinfo/python-ideas > Code of Conduct: http://python.org/psf/codeofconduct/ _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/