Re: [Python-ideas] install pip packages from Python prompt

2017-11-03 Thread Steve Barnes
> > Reading this I get the impression, and correct me if I'm wrong, that > you've never taught beginners programming. Of course long term (heck in > fact fairly early on) they need to learn these nitty-gritty and > sometimes frustrating lessons, but not in a 2 hour intro to programming > for

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

2017-11-03 Thread Guido van Rossum
[A copy from https://github.com/python/typing/issues/495 to get more people's attention to this issue.] I'm wondering if we should remove typing from the stdlib. Now's the time to think about this, as the feature freeze for 3.7 is about 12 weeks away. Cons: - People have to depend on a PyPI p

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

2017-11-03 Thread Chris Angelico
On Sat, Nov 4, 2017 at 1:35 AM, Guido van Rossum wrote: > [A copy from https://github.com/python/typing/issues/495 to get more > people's attention to this issue.] > > I'm wondering if we should remove typing from the stdlib. Now's the time to > think about this, as the feature freeze for 3.7 is a

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

2017-11-03 Thread Guido van Rossum
On Fri, Nov 3, 2017 at 7:45 AM, Chris Angelico wrote: > On Sat, Nov 4, 2017 at 1:35 AM, Guido van Rossum wrote: > > [A copy from https://github.com/python/typing/issues/495 to get more > > people's attention to this issue.] > > > > I'm wondering if we should remove typing from the stdlib. Now's

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

2017-11-03 Thread Chris Angelico
On Sat, Nov 4, 2017 at 1:49 AM, Guido van Rossum wrote: > On Fri, Nov 3, 2017 at 7:45 AM, Chris Angelico wrote: >> >> On Sat, Nov 4, 2017 at 1:35 AM, Guido van Rossum wrote: >> > [A copy from https://github.com/python/typing/issues/495 to get more >> > people's attention to this issue.] >> > >>

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

2017-11-03 Thread Stéfane Fermigier
I use typing quite systematically nowadays, even for projects that don't use mypy (for historical reasons: bringing an older code base to zero mypy issues can be quite time-consuming). For instance, adding typing annotation can help autocompletion under PyCharm (and hopefully other IDEs). With th

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

2017-11-03 Thread Antoine Pitrou
On Fri, 3 Nov 2017 16:04:43 +0100 Stéfane Fermigier wrote: > I use typing quite systematically nowadays, even for projects that don't > use mypy (for historical reasons: bringing an older code base to zero mypy > issues can be quite time-consuming). > > For instance, adding typing annotation can

Re: [Python-ideas] Importance of noticing new signals

2017-11-03 Thread Koos Zevenhoven
On Thu, Nov 2, 2017 at 2:57 PM, Koos Zevenhoven wrote: > On Thu, Nov 2, 2017 at 2:22 PM, Antoine Pitrou > wrote: > >> On Wed, 1 Nov 2017 20:29:56 +0200 >> Koos Zevenhoven wrote: >> > >> > ​From a correctness point of view, that is absolutely great: if >> > PyErr_CheckSignals() is called, it is

Re: [Python-ideas] Importance of noticing new signals

2017-11-03 Thread Antoine Pitrou
On Fri, 3 Nov 2017 17:22:07 +0200 Koos Zevenhoven wrote: > > Maybe you are concerned about whether some nuances and recent changes to > signal handling could lead to harmful change in behavior in some meaningful > edge cases? I can at least say that my PyErr_PROBE_SIGNALS() proposal does > not in