GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Avoid reference counting operations on None, True, False in the interpreter · Issue #103906 · python/cpython

Avoid reference counting operations on None, True, False in the interpreter #103906

New issue
Copy link
New issue
Copy link
Closed
Closed
Avoid reference counting operations on None, True, False in the interpreter#103906
Copy link
Labels
type-featureA feature request or enhancementA feature request or enhancement

Description

@hauntsaninja
hauntsaninja
opened on Apr 26, 2023
Issue body actions

I believe since these are immortal, we now no longer need to incref and decref Py_None, Py_True and Py_False

Linked PRs

  • gh-103906: Avoid refcount changes for True, False, None #103907
  • GH-103906: Remove immortal refcounting in the interpreter #103909
  • gh-103906: Remove immortal refcounting in compile/marshal.c #103922
Reacted by sunmy2019

Activity

  1. hauntsaninja
    added
    type-featureA feature request or enhancementA feature request or enhancement
    on Apr 26, 2023
  2. hauntsaninja
    added a commit that references this issue on Apr 26, 2023

    pythongh-103906: Avoid refcount changes for True, False, None

    81d41b2
  3. corona10
    added a commit that references this issue on Apr 27, 2023

    pythongh-103906: Remove immortal refcounting in compile.c

    8cdd24d
  4. brandtbucher
    added a commit that references this issue on May 16, 2023

    GH-103906: Remove immortal refcounting in the interpreter (GH-103909)

    b4a9747
  5. carljm
    added a commit that references this issue on May 17, 2023

    Merge branch 'main' into 709funconly

    b1bb3a7
  6. corona10
    added a commit that references this issue on Jun 5, 2023

    gh-103906: Remove immortal refcounting in compile/marshal.c (gh-103922)

    058b960
  7. hugovk commented on Nov 10, 2023

    @hugovk
    hugovk
    on Nov 10, 2023
    Member
    More actions

    Is there anything left here, or can we close the issue? Thanks!

  8. hauntsaninja
    closed this as completedon Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-featureA feature request or enhancementA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.