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 — gh-102304: Consolidate Direct Usage of _Py_RefTotal by ericsnowcurrently · Pull Request #102514 · python/cpython

Conversation

@ericsnowcurrently

@ericsnowcurrently ericsnowcurrently commented Mar 7, 2023 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

This simplifies further changes to _Py_RefTotal (e.g. make it atomic or move it to PyInterpreterState).

  • Issue: Move _Py_RefTotal to PyInterpreterState #102304

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ericsnowcurrently added 2 commits March 7, 2023 10:59
@ericsnowcurrently
Add _Py_NewReferenceNoTotal().
b0e8c74
@ericsnowcurrently
Add _Py_IncRefTotal() and _Py_DecRefTotal().
7bdb184
@ericsnowcurrently ericsnowcurrently added the skip news label Mar 7, 2023
@ericsnowcurrently
ericsnowcurrently requested review from markshannon and methane as code owners March 7, 2023 21:54
@bedevere-bot bedevere-bot mentioned this pull request Mar 7, 2023
Move _Py_RefTotal to PyInterpreterState #102304
Closed
@bedevere-bot bedevere-bot added the awaiting core review label Mar 7, 2023
@ericsnowcurrently
ericsnowcurrently removed request for markshannon and methane March 7, 2023 21:54
ericsnowcurrently added 4 commits March 8, 2023 10:55
@ericsnowcurrently
Move the API declaration to pycore_object.h.
47e8844
@ericsnowcurrently
Check for Py_REF_DEBUG around declarations.
9568660
@ericsnowcurrently
Undef Py_INC_REFTOTAL and Py_DEC_REFTOTAL.
9a376b1
@ericsnowcurrently
Add _Py_DEC_REFTOTAL() in pycore_object.h.
240d1d5
@ericsnowcurrently
ericsnowcurrently merged commit cbb0aa7 into python:main Mar 8, 2023
@bedevere-bot bedevere-bot removed the awaiting core review label Mar 8, 2023
@ericsnowcurrently
ericsnowcurrently deleted the consolidate-pyreftotal-usage branch March 8, 2023 19:03
carljm added a commit to carljm/cpython that referenced this pull request Mar 8, 2023
@carljm
Merge branch 'main' into inlinecomp2
06db319
* main:
  pythongh-102304: Consolidate Direct Usage of _Py_RefTotal (pythongh-102514)
  pythongh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives (in Objects/) (python#102218)
  pythongh-102507 Remove invisible pagebreak characters (python#102531)
  pythongh-102515: Remove unused imports in the `Lib/` directory (python#102516)
  Remove or update bitbucket links (pythonGH-101963)
  pythongh-101100: Fix sphinx warnings in `zipapp` and `zipfile` modules (python#102526)
  pythonGH-102397: Fix segfault from race condition in signal handling (python#102399)
  Fix style in argparse.rst (python#101733)
  Post 3.12.0a6
  fix typo in async generator code field name `ag_code` (python#102448)
  Python 3.12.0a6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@ericsnowcurrently @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.