Skip to content

Conversation

@ericsnowcurrently
Copy link
Member

@ericsnowcurrently ericsnowcurrently 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();
return ERROR;
}
int numargvars = 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
Member Author

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
Member Author

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.

@ericsnowcurrently ericsnowcurrently enabled auto-merge (squash) April 29, 2025 01:50
@ericsnowcurrently ericsnowcurrently merged commit 219d8d2 into python:main Apr 29, 2025
41 checks passed
@ericsnowcurrently ericsnowcurrently deleted the track-arg-local-kinds branch April 29, 2025 02:28
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