On Thu, Nov 29, 2018 at 12:16:37PM +0100, E. Madison Bray wrote: > On Wed, Nov 28, 2018 at 11:27 PM Steven D'Aprano <st...@pearwood.info> wrote:
["it" below being the length of an arbitrary iterator] > > If we could solve it, that would be great -- but I'm not convinced that > > it is solvable, since the solution seems worse than the problem it aims > > to solve. But I live in hope that somebody cleverer than me can point > > out the flaws in my argument. > > In general it's unsolvable, so no attempt should be made to provide a > pre-baked attempt at a solution that won't always work. But in many, > if not the majority of cases, it *is* solvable. So let's give > intelligent people the tools they need to solve it in those cases that > they know they can solve it :) So you say, but the solutions made so far seem fatally flawed to me. Just repeating the assertion that it is solvable isn't very convincing. -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/