[Python-Dev] Re: PEP 684: A Per-Interpreter GIL

2022-03-10 Thread Eric Snow
On Wed, Mar 9, 2022 at 7:37 PM Carl Meyer wrote: > > Note that Instagram isn't exactly using Cinder. > > This sounds like a misunderstanding somewhere. Instagram server is > "exactly using Cinder" :) :) Thanks for clarifying, Carl. > > I'll have to check if Cinder uses the pre-fork model. > >

[Python-Dev] Re: RFC on PEP 655: Required[] and NotRequired[] for TypedDict

2022-03-10 Thread David Foster
On 3/8/22 8:42 AM, Patrick Reader wrote: I think the names `Required` and `NotRequired` are too generic for something which can only be used in one context (`TypedDict`s), and > Could they be > put into a pseudo-module like `typing.io`, e.g. `TypedDict.Required`? It sounds like you are proposin

[Python-Dev] Re: PEP 683: "Immortal Objects, Using a Fixed Refcount" (round 3)

2022-03-10 Thread Petr Viktorin
On 10. 03. 22 3:35, Jim J. Jewett wrote: "periodically reset the refcount for immortal objects (only enable this if a stable ABI extension is imported?)" -- that sounds quite expensive, both at runtime and maintenance-wise. As I understand it, the plan is to represent an immortal object by sett