Skip to content

Conversation

@colesbury
Copy link
Contributor

@colesbury colesbury commented Feb 2, 2026

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 namedtuple
instances. With the previous METH_VARARGS, the type argument to
__new__ would be included in the arguments tuple, leading to
reference count contention.
@colesbury
Copy link
Contributor Author

A few comments:

Copy link
Member

@vstinner vstinner 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
Contributor Author

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

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants