[Python-ideas] PEP: Distributing a Subset of the Standard Library

Paul Moore p.f.moore at gmail.com
Tue Nov 29 04:39:45 EST 2016


On 28 November 2016 at 22:33, Steve Dower <steve.dower at python.org> wrote:
> Given that, this wouldn't necessarily need to be an executable file. The
> finder could locate a "foo.missing" file and raise ModuleNotFoundError with
> the contents of the file as the message. No need to allow/require any Python
> code at all, and no risk of polluting sys.modules.

I like this idea. Would it completely satisfy the original use case
for the proposal? (Or, to put it another way, is there any specific
need for arbitrary code execution in the missing.py file?)

Paul


More information about the Python-ideas mailing list