On 27 November 2017 at 21:54, Kirill Balunov <kirillbalu...@gmail.com> wrote: > 2017-11-27 19:23 GMT+03:00 Paul Moore <p.f.mo...@gmail.com>: > >> >> It should be reasonably easy >> to do a code search for something like "=.*islice", to find code >> that's a candidate for using the proposed syntax. I suspect there's >> very little code like that. > > > While isclice is something equivalent, it can be used in places like: > > x, y = seq[:2] > x, y, z = seq[:3]
But in those places, x, y, *_ = seq works fine at the moment. So if the programmer didn't feel inclined to use x, y, *_ = seq, there's no reason to assume that they would get any benefit from x, y, ... = seq either. Paul _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/