[Python-Dev] Re: Is anyone using 15-bit PyLong digits (PYLONG_BITS_IN_DIGIT=15)?

2022-01-15 Thread Tim Peters
[Gregory P. Smith ] > ... > That only appears true in default boring -O2 builds. Use > `./configure --enable-optimizations` and the C version is *much* faster > than your asm one... > > 250ns for C vs 370ns for your asm divl one using old gcc 9.3 on my > zen3 when compiled using

[Python-Dev] Re: Changing PySequence and PyMapping checks

2022-01-15 Thread Christopher Barker
On Sat, Jan 15, 2022 at 2:06 AM Paul Moore wrote: > Personally, I dislike the presumption that you state in the bpo, that > typing and linters have changed things so that being a sequence is more > closely tied to implementing the Sequence abc these days. I consider it a > flaw in typing and

[Python-Dev] Re: Changing PySequence and PyMapping checks

2022-01-15 Thread Paul Moore
Personally, I dislike the presumption that you state in the bpo, that typing and linters have changed things so that being a sequence is more closely tied to implementing the Sequence abc these days. I consider it a flaw in typing and linters if that’s the case, not something to embrace. Paul.