Skip to content

use sys.executable instead of python3 for --install-types #10086

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

Merged
merged 1 commit into from
Feb 12, 2021
Merged

use sys.executable instead of python3 for --install-types #10086

merged 1 commit into from
Feb 12, 2021

Conversation

asottile
Copy link
Contributor

Description

This (for example) fixes the option on windows where python3.exe is either not a thing or it is a stub that opens the windows store

(Explain how this PR changes mypy.)

Test Plan

run mypy with --install-types on windows

@asottile
Copy link
Contributor Author

here's a screenshot of the issue courtesy of @ethanhs

Copy link
Member

@emmatyping emmatyping left a comment

Choose a reason for hiding this comment

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

I found this issue while reviewing #10052. Anthony is quick on the draw :)

@emmatyping emmatyping merged commit 88dde65 into python:master Feb 12, 2021
@asottile asottile deleted the sys_executable branch February 12, 2021 21:20
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.

2 participants