Re: [Python-ideas] Open parenthesis in REPL completion

2019-04-20 Thread Jonathan Fine
Hi Danilo I've exactly the same experience, and now take the behaviour for granted, and don't personally have a desire to fix the problem. I've got used to it. On Unix the behaviour follows from https://docs.python.org/3/library/rlcompleter.html and also https://docs.python.org/3/library/site.htm

Re: [Python-ideas] Open parenthesis in REPL completion

2019-04-20 Thread Danilo J. S. Bellini
For most of the time, I'm already copying and pasting stuff from a text editor to use its completion instead. After more than an year having trouble with this, I think there's no way I can "get used" to it in any positive sense, but when I stick to the REPL for a long time, I'm aware that I press b

Re: [Python-ideas] Open parenthesis in REPL completion

2019-04-20 Thread Jonathan Fine
Hi Danilo You wrote: Is there a default PYTHONSTARTUP file name in Python 3.7.3, or at least a > single global configuration file for the REPL where I can put that oneliner > or a file reference with that line? I strongly prefer not to mess around > with ~/.bashrc, ~/.zshrc and scattered stuff li

Re: [Python-ideas] Open parenthesis in REPL completion

2019-04-20 Thread Chris Angelico
On Sun, Apr 21, 2019 at 3:52 AM Danilo J. S. Bellini wrote: > The solution I found from reading that code is this oneliner, which I'll copy > and paste after loading the REPL (yes, it's monkeypatching a seemingly > private method): > > __import__("rlcompleter").Completer._callable_postfix = lamb