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

bpo-35346, platform: import subprocess in _syscmd_file() #10892

Merged
merged 1 commit into from
Dec 4, 2018
Merged

bpo-35346, platform: import subprocess in _syscmd_file() #10892

merged 1 commit into from
Dec 4, 2018

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Dec 4, 2018

Only platform._syscmd_file() uses subprocess. Move subprocess import
inside this function to reduce the number of imports at Python
startup.

Remove also warnings import which is no longer needed.

https://bugs.python.org/issue35346

Only platform._syscmd_file() uses subprocess. Move subprocess import
inside this function to reduce the number of imports at Python
startup.

Remove also warnings import which is no longer needed.
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.

3 participants