1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Immortal Objects in Python: how do they work?

Discussão em 'Python' iniciado por Stack, Setembro 18, 2025.

  1. Stack

    Stack Membro Participativo

    Recently I came across

    PEP 683 – Immortal Objects, Using a Fixed Refcount

    https://peps.python.org/pep-0683/

    What I figured out that objects like None, True, False will be shared across interpreter instead of creating copies.

    These were already immutable, weren't they?

    Can someone please explain in easy terms. Thanks.

    Continue reading...

Compartilhe esta Página