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-94673: Fix compiler warning in typeobject.c by erlend-aasland · Pull Request #117980 · python/cpython

Conversation

@erlend-aasland

@erlend-aasland erlend-aasland commented Apr 17, 2024 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

static_builtin_index_is_set() is only used in asserts; inline it to avoid compiler warnings.

  • Issue: [subinterpreters] Static types incorrectly share some objects between interpreters #94673

Sorry, something went wrong.

Uh oh!

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

All reactions
@erlend-aasland
pythongh-94673: Fix compiler warning in typeobject.c
9ad94d3
static_builtin_index_is_set() is only used in asserts; inline it to avoid compiler warnings.
@erlend-aasland erlend-aasland added the skip news label Apr 17, 2024
@erlend-aasland
erlend-aasland requested a review from markshannon as a code owner April 17, 2024 10:44
@erlend-aasland
erlend-aasland requested a review from ericsnowcurrently April 17, 2024 10:44
@bedevere-app bedevere-app Bot added the awaiting core review label Apr 17, 2024
@bedevere-app bedevere-app Bot mentioned this pull request Apr 17, 2024
[subinterpreters] Static types incorrectly share some objects between interpreters #94673
Closed
kalebers
kalebers approved these changes Apr 17, 2024
View reviewed changes
ericsnowcurrently
ericsnowcurrently approved these changes Apr 17, 2024
View reviewed changes

@ericsnowcurrently ericsnowcurrently left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this. I have one suggestion for handling it a different way, which preserves the intention of the original code.

Sorry, something went wrong.

Uh oh!

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

erlend-aasland reacted with heart emoji
All reactions
  • ❤️ 1 reaction
Comment thread Objects/typeobject.c Resolved

Uh oh!

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

@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting core review labels Apr 17, 2024
@erlend-aasland
Apply suggestion from code review
b67d7bd
@erlend-aasland
erlend-aasland enabled auto-merge (squash) April 17, 2024 17:28
@erlend-aasland
erlend-aasland merged commit 353ea0b into python:main Apr 17, 2024
@erlend-aasland
erlend-aasland deleted the fix-warning branch April 17, 2024 17:57
@bedevere-app bedevere-app Bot removed the awaiting merge label Apr 17, 2024
@ericsnowcurrently

ericsnowcurrently commented Apr 17, 2024

Copy link
Copy Markdown
Member

Thanks!

erlend-aasland reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ericsnowcurrently ericsnowcurrently ericsnowcurrently approved these changes
@markshannon markshannon Awaiting requested review from markshannon markshannon is a code owner
+1 more reviewer
@kalebers kalebers kalebers approved these changes
Reviewers whose approvals may not affect merge requirements

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.

3 participants

@erlend-aasland @ericsnowcurrently @kalebers
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.