bpo-35346, platform: import subprocess in _syscmd_file() (GH-10892)
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.
V
Victor Stinner committed
b8e689a6e8134e88f857a55e50b6a4977967e385
Parent: 4752e65
Committed by GitHub <noreply@github.com>
on 12/4/2018, 4:18:12 PM