Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrentlyericsnowcurrently commented Apr 25, 2025

Doing this was always the intention. I was finally motivated to find the time to do it.

See #87859 (comment).

PyErr_NoMemory();
returnERROR;
}
intnumargvars=0;
Copy link
Member

Choose a reason for hiding this comment

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

Would it be possible to move this new code to after kinds was calculated, and then you don't need to allocate the argkinds array (just modify the kinds array)?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

I think I can make that work without slowing things down.

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

done

@iritkatriel
Copy link
Member

We should add a test for the new flags.

@ericsnowcurrentlyericsnowcurrently enabled auto-merge (squash) April 29, 2025 01:50
@ericsnowcurrentlyericsnowcurrently merged commit 219d8d2 into python:mainApr 29, 2025
41 checks passed
@ericsnowcurrentlyericsnowcurrently deleted the track-arg-local-kinds branch April 29, 2025 02:28
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@ericsnowcurrently@iritkatriel