
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.