On Sat, 23 Feb 2019 at 10:03, Steve Dower <steve.dower@python.org> wrote:
And then there are parts of the standard library that you may not want, such as sockets (e.g. when embedding Python in an application). But if you remove sockets, what else do you have to remove? If the layers are done properly, you shouldn't have to remove anything in a *lower* layer, but only things in the same (or a higher) layer. (And this one is a real need for me, so I have to figure out how to remove sockets anyway and all the stdlib that depends on it anyway.)
Slight tangent: https://www.python.org/dev/peps/pep-0534/ may be of interest to you in offering a potential way to improve the exceptions reported when folks try to use stdlib modules that have been deliberately (or accidentally!) omitted from a Python installation.
Cheers, Nick.
-- Nick Coghlan | ncoghlan@gmail.com | Brisbane, Australia