[Python-Dev] Draft PEP: Remove wstr from Unicode

2020-06-18 Thread Inada Naoki
PEP: Title: Remove wstr from Unicode Author: Inada Naoki Status: Draft Type: Standards Track Content-Type: text/x-rst Created: 18-Jun-2020 Python-Version: TBD Abstract PEP 393 deprecated some unicode APIs, and introduced ``wchar_t *wstr``, and ``Py_ssize_t wstr_length`` in unicode

[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-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 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 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