[Python-Dev] Re: PEP 618: Add Optional Length-Checking To zip

2020-05-14 Thread Brandt Bucher
Ethan Furman wrote: > Can you do those with _pydecimal? If performance were an issue anywhere I > would expect to see it with number crunching. No difference, probably because those methods look like they spend most of their time doing string manipulation: ``` $ export PYPERFSETUP='from _pyde

[Python-Dev] Re: PEP 618: Add Optional Length-Checking To zip

2020-05-14 Thread Ethan Furman
On 05/14/2020 11:13 AM, Brandt Bucher wrote: I claimed to have found "dozens of other call sites in Python's standard library and tooling where it would be appropriate to enable this new feature". You asked for references, and I provided two dozen cases of zipping what must be equal length it

[Python-Dev] Re: Python Language Summit 2020 blog posts

2020-05-14 Thread Mariatta
The rest of Python Language Summit articles are now out: Property-Based Testing for Python Builtins and the Standard Library, Zac Hatfield-Dodds: https://pyfound.blogspot.com/2020/05/property-based-testing-for-python.html Core Workflow Updates, Mariatta Wijaya: https://pyfound.blogspot.com/2020/0

[Python-Dev] Re: PEP 618: Add Optional Length-Checking To zip

2020-05-14 Thread Brandt Bucher
Ethan Furman wrote: > So half of your examples are actually counter-examples. I claimed to have found "dozens of other call sites in Python's standard library and tooling where it would be appropriate to enable this new feature". You asked for references, and I provided two dozen cases of zippin

[Python-Dev] Re: PEP 618: Add Optional Length-Checking To zip

2020-05-14 Thread Ethan Furman
On 05/14/2020 05:43 AM, Antoine Pitrou wrote: On Wed, 13 May 2020 19:27:57 -0700 Ethan Furman wrote: On 05/13/2020 06:04 AM, Antoine Pitrou wrote: On Tue, 12 May 2020 11:36:38 -0700 Ethan Furman wrote: Also, if a flag is used, won't that slow down every call to zip even when the flag is Fal

[Python-Dev] Re: PEP 618: Add Optional Length-Checking To zip

2020-05-14 Thread Antoine Pitrou
On Wed, 13 May 2020 19:27:57 -0700 Ethan Furman wrote: > On 05/13/2020 06:04 AM, Antoine Pitrou wrote: > > On Tue, 12 May 2020 11:36:38 -0700 > > Ethan Furman wrote: > >> > >> Also, if a flag is used, won't that slow down every call to zip even when > >> the flag is False? > > > > Why would

[Python-Dev] [RELEASE] Python 3.8.3 is now available

2020-05-14 Thread Łukasz Langa
On behalf of the entire Python development community, and the currently serving Python release team in particular, I’m pleased to announce the release of Python 3.8.3, the third maintenance release of Python 3.8. You can find it here: https://www.python.org/downloads/release/python-383/