Introducing Immortal Objects for Python - eviltoast
  • tnuctip@mastodonapp.uk
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    @Sternout @jnovinger
    Maybe, but (apart from the “Accidental Immortalisation” case mentioned in PEP 683) these things are created deliberately by C extensions.
    A sane extension shouldn’t be building loads of them on the fly in the first place.