[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-19 Thread Serhiy Storchaka
19.06.20 02:57, Guido van Rossum пише: On Thu, Jun 18, 2020 at 2:36 PM Eric Fahlgren > wrote: We've implemented the new zip in our sitecustomize.py, and think the keyword makes it easier.  I've instructed our development staff to examine all use of zip

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-18 Thread Guido van Rossum
On Thu, Jun 18, 2020 at 2:36 PM Eric Fahlgren wrote: > We've implemented the new zip in our sitecustomize.py, and think the > keyword makes it easier. I've instructed our development staff to examine > all use of zip as they come across them and add either "strict=True" or > "strict=False" when

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-18 Thread Eric Fahlgren
On Thu, Jun 18, 2020 at 8:06 AM Serhiy Storchaka wrote: > It would be easier if add a new function instead of a new keyword > argument to the existing function. > We've implemented the new zip in our sitecustomize.py, and think the keyword makes it easier. I've instructed our development staff

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-18 Thread Serhiy Storchaka
17.06.20 11:42, Victor Stinner пише: zip(strict=True) should help to write more reliable code. Maybe it's time to review stdlib code to check if some functions would deserve the addition of strict=True? I had a look and found a few suspicious usage of zip(). But I'm not sure if we want to make th

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-18 Thread Ethan Furman
On 06/16/2020 04:07 PM, Guido van Rossum wrote: I am hereby accepting PEP 618. Congratulations, Brandt! -- ~Ethan~ ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.o

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-17 Thread Antoine Pitrou
Thank you Guido :-) Regards Antoine. On Tue, 16 Jun 2020 16:07:43 -0700 Guido van Rossum wrote: > After taking a break to recapitulate from the vigorous debate, Brandt > Bucher has revised PEP 618 and > submitted it for review

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-17 Thread Victor Stinner
Well done Brandt! Even if only a few people had issues with zip(), I think that it was a long awaited feature. It's great to have it in Python 3.10! It wasn't trivial or convenient to emulate the feature (check manually the length) on Python 3.9 and older. zip(strict=True) should help to write m

[Python-Dev] Re: Accepting PEP 618: zip(strict=True)

2020-06-16 Thread Brandt Bucher
Woo! Many thanks to Ram for the idea, Antoine for sponsoring, Guido for PEP-Delegating, and everyone on -Ideas and -Dev for the spirited discussion and review. Brandt ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to