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 unnecessary code from #7776 for ./pants binary interpreter constraints #7842

Conversation

Eric-Arellano
Copy link
Contributor

As pointed out in #7776 (comment), #7776 had an unnecessary use of InterpreterCache to re-validate the constraints, even though that was already done by upstream tasks.

This results in less code and slightly faster performance by avoiding running the validation check twice.

Copy link
Sponsor Member

@stuhood stuhood left a comment

Choose a reason for hiding this comment

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

Thanks!

@Eric-Arellano Eric-Arellano merged commit 4cde07a into pantsbuild:master Jun 4, 2019
@Eric-Arellano Eric-Arellano deleted the cleanup-python-binary-constraints branch June 4, 2019 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants