Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-124127: Make Py_REFCNT() opaque in limited C API 3.14#124128

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
vstinner merged 1 commit intopython:mainfromvstinner:refcnt_opaque
Sep 24, 2024

Conversation

@vstinner
Copy link
Member

@vstinnervstinner commentedSep 16, 2024
edited by github-actionsbot
Loading

colesbury reacted with thumbs up emoji
@vstinner
Copy link
MemberAuthor

@vstinner
Copy link
MemberAuthor

cc@serhiy-storchaka

@vstinner
Copy link
MemberAuthor

I plan to merge this change at the end of the week, unless someone wants to review it or has concerns about it.

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM.

Copy link
Member

@encukouencukou left a comment

Choose a reason for hiding this comment

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

+1, with a nitpick on the implementation:

}
#if !defined(Py_LIMITED_API)||Py_LIMITED_API+0<0x030b0000
# definePy_REFCNT(ob) Py_REFCNT(_PyObject_CAST(ob))
#if !defined(Py_LIMITED_API)||Py_LIMITED_API+0<0x030b0000
Copy link
Member

@encukouencukouSep 23, 2024
edited
Loading

Choose a reason for hiding this comment

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

This#if is now redundant, right?

Copy link
MemberAuthor

@vstinnervstinnerSep 24, 2024
edited
Loading

Choose a reason for hiding this comment

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

It's still needed. (Correct me if I'm wrong.)

@vstinnervstinner merged commit9d344fa intopython:mainSep 24, 2024
2 checks passed
@vstinnervstinner deleted the refcnt_opaque branchSeptember 24, 2024 06:43
@vstinner
Copy link
MemberAuthor

Merged, thanks for reviews.

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

Reviewers

@encukouencukouencukou approved these changes

@serhiy-storchakaserhiy-storchakaserhiy-storchaka approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@vstinner@encukou@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp