On 01/05/2020 19:10, Brandt Bucher wrote:
I have pushed a first draft of PEP 618:
https://www.python.org/dev/peps/pep-0618
Please let me know what you think – I'd love to hear any *new* feedback that
hasn't yet been addressed in the PEP!
Not sure whether you class this as new, but I think your Rationale
section misses the point. The rest of the document appears to divide
uses of zip into those playing with infinite iterators, for which the
current behaviour of zip() is just fine and "strict=True" would be an
error, those where the program logic expects the finite inputs to be the
same length for which "strict=True" is protection against meddling :-),
and a relatively small number of cases that don't care for which
"strict=True" may not even be a useful debugging tool. In other words,
from context the programmer should always know whether he always wants
"strict=True" or "strict=False". That functionality switch is the
smell, and I don't think you convincingly deal with it.
--
Rhodri James *-* Kynesim Ltd
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at
https://mail.python.org/archives/list/python-ideas@python.org/message/MHY5OAY2RXSDYO5RX36LF6F67GRUAK57/
Code of Conduct: http://python.org/psf/codeofconduct/