[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread Stephen J. Turnbull
Steven D'Aprano writes: > Do people forget that the vanilla Python REPL has come with tab > completion for nearly 20 years, and on by default for something like > seven years? > (At least on Linux/POSIX systems. I don't know if it works on Windows > or Macs.) Tab completion WFM on Mac, b

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread Stephen J. Turnbull
Steven D'Aprano writes: > Which of the core devs will have the responsibility for checking that > something which is a good-quality, well-maintained, dependable package > today remains so a year from now? All of them and none of them, as usual. Also, since it's not the CPython implementatio

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread Dan Sommers
On 8/3/19 4:15 AM, Steven D'Aprano wrote: On Fri, Aug 02, 2019 at 02:16:52PM -0400, Dan Sommers wrote: I agree, but that's assuming that you "know" what's there and just have to be reminded. IMO, it helps less with discovering new functions, and even less than that when it comes to discovering

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread Anders Hovmöller
> On 3 Aug 2019, at 12:18, Dan Sommers <2qdxy4rzwzuui...@potatochowder.com> > wrote: > > Once I know what SMTP is, and what the smtplib module does, > and I've used it a couple of times, then seeing the list of > names inside the module might remind me how to use it. > So maybe SMTP is an extr

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread David Mertz
This sounds like a perfect opportunity to prove a third party module could be useful. I'm not sure how to configure tab completion callbacks in every environment like ipython, Jupyter, Python shell, PyCharm, VS Code, vim, or whatever. But without getting to that step (which is definitely possible

[Python-ideas] Re: For-expression/throwaway comprehension

2019-08-04 Thread Dan Sommers
On 8/4/19 1:13 PM, Anders Hovmöller wrote: >> On 3 Aug 2019, at 12:18, Dan Sommers <2qdxy4rzwzuui...@potatochowder.com> wrote: >> Once I know what SMTP is, and what the smtplib module does, and I've >> used it a couple of times, then seeing the list of names inside the >> module might remind m