Message 386134 - Python tracker (original) (raw)
Why do we need to sort those extensions by name?
Because calling sorted() is easy. Any other arbitrary choice would make sense. But giving the ability to build sources in a specific order, add dependencies, or something else, would a new features.
Also, distutils is now deprecated in the stdlib: the steering council approved https://www.python.org/dev/peps/pep-0632/
You should now report distutils issues to setuptools.