]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.6]bpo-15786: Fix IDLE autocomplete return problem. (#2198) (#2199)
authorterryjreedy <tjreedy@udel.edu>
Wed, 14 Jun 2017 20:10:10 +0000 (16:10 -0400)
committerGitHub <noreply@github.com>
Wed, 14 Jun 2017 20:10:10 +0000 (16:10 -0400)
commit6628006941f4382813a9af4628894c99bb333b8f
tree200ecc17b8cf3a3a624ed7f91de30e62018aa96e
parent789f47ebb56283bd0156957121ac2854817b2bf9
[3.6]bpo-15786: Fix IDLE autocomplete return problem. (#2198) (#2199)

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 32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02)
Lib/idlelib/autocomplete_w.py