[Python-ideas] Moving typing out of the stdlib in Python 3.7?

Antoine Pitrou antoine at python.org
Sun Nov 5 09:47:19 EST 2017


Le 05/11/2017 à 14:30, Paul Moore a écrit :
> On 5 November 2017 at 10:48, Antoine Pitrou <solipsis at pitrou.net> wrote:
>> On Sun, 5 Nov 2017 13:46:59 +1000
>> Nick Coghlan <ncoghlan at gmail.com> wrote:
>>> * ensurepip gains the ability to also install bundled wheel files
>>
>> Why? Why wouldn't you put the wheel directly in site-packages on
>> install?
> 
> I'm not quite sure what you mean? It needs to be "installed", in the
> sense of being unpacked into site-packages, and the ensurepip
> mechanism is already able to do that for pip and setuptools, so adding
> an extra wheel to install wouldn't be too hard.

Ok, perhaps my question wasn't quite clear.  Are you suggesting that
people have to run "python -m ensurepip typing" after they installed
Python?  Or would the typing module be importable as soon as you have an
installed Python, like stdlib modules are?

Regards

Antoine.


More information about the Python-ideas mailing list