[Python-ideas] Moving typing out of the stdlib in Python 3.7?
Nick Coghlan
ncoghlan at gmail.com
Mon Nov 6 01:07:56 EST 2017
On 6 November 2017 at 05:00, Paul Moore <p.f.moore at gmail.com> wrote:
> On 5 November 2017 at 18:40, Antoine Pitrou <solipsis at pitrou.net> wrote:
>> I think typing shouldn't require any extra typing (ha) on Unix either.
>> I don't remember what the rationale was for having to type
>> "python -m ensurepip" to get pip installed, but typing is just a
>> library, not an executable tool that may be able to mess with the
>> system state, so I don't think it's worthwhile introducing an extra
>> step for it.
>
> Yes, I agree. I didn't realise that "give me pip" was an extra step on
> Unix. I don't know what the arguments for doing it like that on Unix
> were, but they certainly don't seem to apply to typing.
It's the default on Unix as well - you have to do "make install
ENSUREPIP=no" to avoid getting it. (And some distros also modify their
Python installations so that pip is missing by default)
We provide "python -m ensurepip" because we offer ways to skip doing
it at install time (and venv creation time), so the explicit command
gives folks a straightforward way to change their minds later.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-ideas
mailing list