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-139103: Use METH_FASTCALL for tp_new_wrapper#144406

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

Open
colesbury wants to merge1 commit intopython:main
base:main
Choose a base branch
Loading
fromcolesbury:gh-139103-tp-new-wrapper-fastcall

Conversation

@colesbury
Copy link
Contributor

@colesburycolesbury commentedFeb 2, 2026
edited
Loading

This addresses one of the bottlenecks when constructing namedtuple instances. With the previous METH_VARARGS, the type argument to__new__ would be included in the arguments tuple, leading to reference count contention.

This addresses one of the bottlenecks when constructing namedtupleinstances. With the previous METH_VARARGS, the type argument to__new__ would be included in the arguments tuple, leading toreference count contention.
@colesbury
Copy link
ContributorAuthor

A few comments:

Copy link
Member

@vstinnervstinner left a comment

Choose a reason for hiding this comment

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

LGTM.

I'm not sure what's wrong with the CI.

@colesbury
Copy link
ContributorAuthor

I think there are site-wide failures with GitHub Actions hosted-runners:https://www.githubstatus.com/

vstinner reacted with thumbs up emoji

@colesburycolesbury marked this pull request as ready for reviewFebruary 2, 2026 21:26
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@vstinnervstinnervstinner approved these changes

@kumaraditya303kumaraditya303kumaraditya303 approved these changes

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@colesbury@vstinner@kumaraditya303

[8]ページ先頭

©2009-2026 Movatter.jp