How it works in the terminal is less important to me than how it works in
IDLE though; being able to teach how to use Python through IDLE (deferring
discussion of terminals etc) is useful for introductory programming classes.
Personally, I don't use IDLE for teaching,  but do use iPython. But if we
have a way to call pip from a Python REPL, it really should work in the
standard REPL. Though still a good idea to have IDLE specific and iPython
specific ways to install packages within those environments. I like the

%pip

Idea for iPython -- and I'm pretty sure the kernel can be restarted.
Certainly in a notebook.

As for the plain REPL, maybe a warning that you need to restart after an
upgrade would be enough.

Though I suspect that Window's aggressive file locking will put the kibosh
on in-place upgrades :)

CHB




--
Oscar

_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to