Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cleanup old builtins #57532

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Feb 25, 2025

The _apply_pure function only has one user, and that user is unsound anyways and should not be used, so replace that with equivalent _call_in_world_total call and remove unnecessary definitions.

The awkward distinction between invokelatest and _call_latest has not been relevant (and indeed causes performance issues) since kwfunc was introduced in #47157.

@vtjnash vtjnash added the backport 1.12 Change should be backported to release-1.12 label Feb 25, 2025
@KristofferC KristofferC mentioned this pull request Feb 26, 2025
15 tasks
The `_apply_pure` function only has one user, and that user is unsound
anyways and should not be used, so replace that with equivalent
`_call_in_world_total` call and remove unnecessary definitions.

The awkward distinction between `invokelatest` and `_call_latest` has
not been relevant (and indeed causes performance issues) since kwfunc
was introduced in #47157.
@vtjnash vtjnash force-pushed the jn/invokelatest-builtins-cleanup branch from 2f97f6c to a878091 Compare February 26, 2025 16:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 1.12 Change should be backported to release-1.12
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant