On 05/16/2020 01:16 AM, Steven D'Aprano wrote:
On Fri, May 15, 2020 at 05:46:43PM +0200, Antoine Pitrou wrote:

For me:

* zip(strict=True)       +1
* zip(mode='strict')     -0
* itertools.zip_strict() -0.5
* zip.strict()           -1  (but really, I'd like to make this -1e10)

I spent a significant amount of time and mental energy explaining in
detail why a boolean flag is a poor API and is objectively the wrong
interface here. This is not just a matter of personal taste: there are
reasons why a flag is wrong here.

Did you mean for this to go to python-dev where the current discussion is at?

--
~Ethan~
_______________________________________________
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/344X6MCPCGB5XTNQ434JVHVR5UURYFMH/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to