[Python-Dev] September Steering Council update

2021-10-31 Thread Pablo Galindo Salgado
I’ve just published the September steering council update, also included below: https://github.com/python/steering-council/blob/main/updates/2021-09-steering-council-update.md Just as a reminder, if you have any questions or concerns, feel free to contact us or open an issue in the SC repo:

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Skip Montanaro
> Remember that py stone is a terrible benchmark. I understand that. I was only using it as a spot check. I was surprised at how much slower my (threaded or unthreaded) matrix multiply was on nogil vs 3.9+. I went into it thinking I would see an improvement. The Performance section of Sam's

[Python-Dev] Re: Type annotations, PEP 649 and PEP 563

2021-10-31 Thread asafspades
One use case which seems significant to me but I don’t think has been explicitly mentioned is annotations using a package with stubs where the stubbed typing API is slightly different than the runtime API. For example sometimes additional tape aliases are defined for convenience in stubs

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Guido van Rossum
Remember that py stone is a terrible benchmark. It only exercises a few byte codes and a modern CPU’s caching and branch prediction make minced meat of those. Sam wrote a whole new register-based VM so perhaps that exercises different byte codes. On Sun, Oct 31, 2021 at 05:19 Skip Montanaro

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Skip Montanaro
Skip> 1. I use numpy arrays filled with random values, and the output array is also a numpy array. The vector multiplication is done in a simple for loop in my vecmul() function. CHB> probably doesn't make a difference for this exercise, but numpy arrays make lousy replacements for a regular

[Python-Dev] Re: Python multithreading without the GIL

2021-10-31 Thread Christopher Barker
On Fri, Oct 29, 2021 at 6:10 AM Skip Montanaro wrote: > 1. I use numpy arrays filled with random values, and the output array is > also a numpy array. The vector multiplication is done in a simple for loop > in my vecmul() function. > probably doesn't make a difference for this exercise, but

[Python-Dev] Tips on C and the CPython Codebase

2021-10-31 Thread Abdur-Rahmaan Janhangeer
Greetings list, I am going to start tinkering with the Python source again (on Linux) I previously built the source etc using Visual Studio on Windows Now the EFL ui libs re-ignited my passion for C while playing with python-efl And Chris last proposal made me want to re-play with the CPython