[Python-ideas] High time for a builtin function to manage packages (simply)?
rosuav at gmail.com
Sun Sep 6 01:41:38 CEST 2015
On Sun, Sep 6, 2015 at 7:03 AM, Terry Reedy <tjreedy at udel.edu> wrote:
> On 9/5/2015 3:08 AM, Stephen J. Turnbull wrote:
>> So let's fix it, already! Now that we have a blessed package
>> management module, why not have a builtin that handles the simple
>> cases? Say
>> def installer(package, command='install'):
> Because new builtins have a high threashold to reach, and this doesn't reach
> it? Installation is a specialized and rare operation.
If there's a simple entry-point like that in an importable module,
anyone who wants it as a builtin can simply pre-import it (this would
be used interactively anyway). All it'd take would be a known function
More information about the Python-ideas