<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/idlelib/autocomplete_w.py, branch bind-socket</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-36176: Fix IDLE autocomplete &amp; calltip popup colors. (#12262)</title>
<updated>2019-03-11T00:18:40+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2019-03-11T00:18:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=491ef53c1548c2b593d3c35d1e7bf25ccb443019'/>
<id>491ef53c1548c2b593d3c35d1e7bf25ccb443019</id>
<content type='text'>
Prevent conflicts with Linux dark themes
(and slightly darken calltip background).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prevent conflicts with Linux dark themes
(and slightly darken calltip background).</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33987: IDLE - use ttk Frame for ttk widgets (GH-11395)</title>
<updated>2019-01-03T03:04:06+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2019-01-03T03:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=aff0adabf3ace62073076f4ce875ff568f2d3180'/>
<id>aff0adabf3ace62073076f4ce875ff568f2d3180</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)</title>
<updated>2018-06-21T02:49:55+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2018-06-21T02:49:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33'/>
<id>33c7420e7dd9d8e5b2aa15e98da6291bab6fcf33</id>
<content type='text'>
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-33855: Minimally test all IDLE modules. (GH-7689)</title>
<updated>2018-06-15T22:20:55+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2018-06-15T22:20:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ee5ef309c7e2daef1248730145408f700732c42e'/>
<id>ee5ef309c7e2daef1248730145408f700732c42e</id>
<content type='text'>
Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es).  Add a test file for all non-startup IDLE modules.  Edit existing files and update coverage.  This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es).  Add a test file for all non-startup IDLE modules.  Edit existing files and update coverage.  This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix idlelib comment typos reported by Mike on pull request 4803. (#4807)</title>
<updated>2017-12-12T03:59:08+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2017-12-12T03:59:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e570211406f9bfbe16eff8d10e614d90497e08df'/>
<id>e570211406f9bfbe16eff8d10e614d90497e08df</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-15786: Fix IDLE autocomplete return problem. (#2198)</title>
<updated>2017-06-14T19:43:15+00:00</updated>
<author>
<name>terryjreedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2017-06-14T19:43:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02'/>
<id>32fd874afe55e396e3c9a5af35e7bb3d8e0b8f02</id>
<content type='text'>
Before, &lt;return&gt; would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, &lt;return&gt; was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Before, &lt;return&gt; would not, for instance, complete 're.c' to 're.compile' even with 'compile' highlighted.  Now it does.  Before, &lt;return&gt; was inserted into text, which in Shell meant compile() and possibly execute.  Now cursor is left after completion.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-15786: IDLE: Fix mouse clicks on autocompletetion window (#1811)</title>
<updated>2017-06-14T15:13:19+00:00</updated>
<author>
<name>mlouielu</name>
<email>git@louie.lu</email>
</author>
<published>2017-06-14T15:13:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=778b484145edfd0d9b65129322d3295bed8eb71a'/>
<id>778b484145edfd0d9b65129322d3295bed8eb71a</id>
<content type='text'>
The root problem was non-check for hide_event. When user clicks
on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to
close the acw. It should only be hide when acw is active, and acw didn't
get focus at FocusOut event (this event bind on acw and widget), or when
widget get a ButtonPress event (this event only bind on widget).

MacOS  froze after double click on acw because when
doubleclick_event try to hide window at the end, hide_window function
destory whole acw, but tkinter didn't get focus back to widget. So set focus
on widget first, then destory acw.

Windows could not respond on double click event, because of the misbehavior
of Configure event.  When acw was shown, tkinter called winconfig
event multiple times.  That caused tkinter to not response to double
click event.  When on Windows, unbind Configure event first
time get into winconfig_event to prevent multiple call of this event.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The root problem was non-check for hide_event. When user clicks
on autocomplete window (acw), root widget gets focusOut event, then triggers hide_window to
close the acw. It should only be hide when acw is active, and acw didn't
get focus at FocusOut event (this event bind on acw and widget), or when
widget get a ButtonPress event (this event only bind on widget).

MacOS  froze after double click on acw because when
doubleclick_event try to hide window at the end, hide_window function
destory whole acw, but tkinter didn't get focus back to widget. So set focus
on widget first, then destory acw.

Windows could not respond on double click event, because of the misbehavior
of Configure event.  When acw was shown, tkinter called winconfig
event multiple times.  That caused tkinter to not response to double
click event.  When on Windows, unbind Configure event first
time get into winconfig_event to prevent multiple call of this event.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27891: Consistently group and sort imports within idlelib modules.</title>
<updated>2016-08-31T04:50:55+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2016-08-31T04:50:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=bfbaa6b206abdb8b1c3861926f4334b879ec91cc'/>
<id>bfbaa6b206abdb8b1c3861926f4334b879ec91cc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19198: IDLE: tab after initial whitespace should tab, not autocomplete.</title>
<updated>2016-07-25T03:01:28+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2016-07-25T03:01:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c665dfd73e330213008f6422c25b5a115a541776'/>
<id>c665dfd73e330213008f6422c25b5a115a541776</id>
<content type='text'>
Fixes problem with writing docstrings at lease twice indented.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes problem with writing docstrings at lease twice indented.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27609: Explicitly return None when there are other returns.</title>
<updated>2016-07-25T00:35:43+00:00</updated>
<author>
<name>Terry Jan Reedy</name>
<email>tjreedy@udel.edu</email>
</author>
<published>2016-07-25T00:35:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c74fb9c6c5786ce3467a17a8c540e61ac925f645'/>
<id>c74fb9c6c5786ce3467a17a8c540e61ac925f645</id>
<content type='text'>
In a few cases, reverse a condition and eliminate a return.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In a few cases, reverse a condition and eliminate a return.
</pre>
</div>
</content>
</entry>
</feed>
