◐ Shell
clean mode source ↗

bpo-15786: Fix IDLE autocomplete return problem. by terryjreedy · Pull Request #2198 · python/cpython

@terryjreedy

terryjreedy added a commit to terryjreedy/cpython that referenced this pull request

Jun 14, 2017
Before, <return> would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, <return> was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.
(cherry picked from commit 32fd874)

terryjreedy added a commit that referenced this pull request

Jun 14, 2017
Before,  Enter would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, '\n' was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.
(cherry picked from commit 32fd874)