<div dir="ltr">Nice to hear that IDLE has fixes in the 3.6/3.7 versions. I'll be sure to check them out !<div><br></div><div>Greetings and best wishes Peter !</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 24, 2018 at 12:20 PM, Terry Reedy <span dir="ltr"><<a href="mailto:tjreedy@udel.edu" target="_blank">tjreedy@udel.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 5/23/2018 9:58 AM, Peter Galan wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At first I have to thank you for your effort to maintain this great programming system.<br>
</blockquote>
<br></span>
Thank you.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using it to attract my grandchildren to the computer programming technique.<br>
</blockquote>
<br></span>
Great. I started my daughter at around 14.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
But I have encountered one problem, which is present even in the latest version (2.7.15).<br>
</blockquote>
<br></span>
This is the latest maintenance release of an 8-year-old version. It only gets security and build fixes and a small subset of bug fixes. Currently, most bugfixes are not backported to 2.7. This includes IDLE changes.<br>
<br>
3.6 is the current version of Python and 3.7 will be out next month. Please consider starting your grandkids with 3.6 or 3.7. IDLE is being actively improved, but only for 3.6+.<br>
<br>
On Windows, 2.7.15 uses tcl/tk GUI framework 8.5.15, whereas Python 3.6 comes with the newer and better tk 8.6.6.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
It is the automatic completion. It doesn’t work as described. At first, the automatic completion should kick-out after about 2 sec when, for example the user types the name of an object and the dot. Nothing happens.<br>
</blockquote>
<br></span>
Completing a name you have started and adding an attribute after '.' are 2 different operations. Auto-popup is only for the latter. If I enter 'int.' in either Shell or an editor, a box pops up with the 7 int attributes that do not start with '_', from 'bit_length' to 'to_bytes'.<br>
<br>
I have 64-bit Win 10 and both installed 64-bit and locally built 32-bit debug binaries. If you do not see the above, there is either a problem with the tcl/tk gui framework, which IDLE uses, on Win 7, or with your particular installation.<br>
<br>
A box pops up only if the object has attributes *and* if IDLE knows about them. The IDLE doc (Help => IDLE Help, and online) section on Completions mentions that in the editor, you likely have run the code already written for completions to work properly.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
The forced auto-completion requires to press the Ctrl+Space keys.<br>
</blockquote>
<br></span>
This is required if you have already typed part of a name *before* the box appears.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At first, it opens “some” window, but, like in my example, the object “M” must not to be followed by the dot.<br>
</blockquote>
<br></span>
Because "M" does not have attributes, at least none that IDLE knows about.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
However that window is meaningless.<br>
</blockquote>
<br></span>
On the contrary, this box in the screenshot is exactly as intended, and what I see also upon entering 'M<cntl-space>'. 'MemoryError' is the first visible name beginning with M.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
As soon as I try to use it (click on it, to move the cursor keys, or any other activity with the keyboard), this window immediately disappears.<br>
</blockquote>
<br></span>
With 2.7.15, I can move with up/down arrow keys and click after moving, but there are some bugs. Clicking without movement and <Enter> do not work. These and other problems were fixed last summer for 3.6+.<span class=""><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Is there a way to fix this problem?<br>
</blockquote>
<br></span>
Some of your problems may be with your installation, but a full fix requires upgrading to 3.6+<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
And I am running the Windows 7 and the 64-bit version Python. Thank you in advance for your help.<br>
</blockquote>
<br></div></div><span class="HOEnZb"><font color="#888888">
-- <br>
Terry Jan Reedy<br>
<br>
______________________________<wbr>_________________<br>
IDLE-dev mailing list<br>
<a href="mailto:IDLE-dev@python.org" target="_blank">IDLE-dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/idle-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailma<wbr>n/listinfo/idle-dev</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself.<br>- Abraham Maslow<br></div>
</div>