Vendored distutils incompatible with Python 3.5 · Issue #2357 · pypa/setuptools (original) (raw)

As part of setuptools 50.0, the vendored ("local") distutils implementation has been chosen over the stdlib version.

Looking at

setuptools/setuptools/_distutils/util.py

Line 423 in17cb9d6

cmd.extend(subprocess._optim_args_from_interpreter_flags())

we see that subprocess._optim_args_from_interpreter_flags() is called. However, this is not present on Python 3.5.