From tjreedy at udel.edu Sun Jan 17 03:19:29 2016 From: tjreedy at udel.edu (Terry Reedy) Date: Sun, 17 Jan 2016 03:19:29 -0500 Subject: [Idle-dev] Freezing 2.7 and moving on Message-ID: The new releases are out, the holidays over, I can now build 3.5/6, and I have restarted working on IDLE. I have decided that other people were right; backporting ttk use and other big changes to 2.7 was a foolish idea. This will mean mostly freezing IDLE for 2.7. For myself, I will only backport easily backported fixes to IDLE startup failures. Example: IDLE not starting because of duplicate names (such as 'string.py' in their directory and /Lib. Only a few lines should be needed to fix this, and the backport will currently be trivial. A summary of my reasons: 1. People still using 2.7 are by definition conservative and may not want a major change. The extended extended maintenance period for 2.7, already begun, was intended mainly for security and build problems. Judging from IDLE questions on Stackoverflow, the number of courses using IDLE with 2.7 may be shrinking. 2. I have no person interest in 2.7 and remembering its peculiarities; the burden of remembering differences is growing; for 3.5, I want to write in 3.5 and be able to use any feature available. For example, if async can be used with tkinter, that might solve some IDLE problems. 3. As some as some patches are not backported, the burden of backporting most other patches will increase. Not backporting to 2.7 also means not backporting to the legacy 2.7-like code included with 3.5. 4. Backports need separate testing. Testing is already inadequate. Even seemingly 'safe' patches can cause regresssions. Example: rewriting README.txt. https://bugs.python.org/issue25224. I did not ask Mark to test my final patch on Linux/MAC either before or after applying. However, the text editor I used (Notepad++ I thing, but not sure), converted ascii ' to non-ascii ? with latin-1 encoding. The result is that on *some* systems displaying README.txt in About IDLE fails in any of the new releases. 5. While nearly the most innocuous regression possible, the shock convinced me that the only way to successfully revamp IDLE is to focus on revised and new code for 3.5 and 3.6. Another possible factor is that the main IDLE repository will move from hg on a PSF server to git on Github. I don't know what the impact of this will be. -- Terry Jan Reedy From andrew.wells1024 at gmail.com Thu Jan 14 20:09:31 2016 From: andrew.wells1024 at gmail.com (Andrew Wells) Date: Fri, 15 Jan 2016 01:09:31 -0000 Subject: [Idle-dev] IDLE Bugs Message-ID: I'd like to preface this email with the statement that I absolutely love IDLE. I started learning python a few days ago and IDLE is a great tool for that great language. I've got three bugs to report, and each of them pertains to the autocomplete function. For reference, I'm using a new MacBook Pro and the new OS X El Capitan. Upon opening, IDLE prints: Python 3.5.1 (v3.5.1:37a07cee5969 ...) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin The first bug is not too important. When two IDLE windows are open, the autocomplete reference box appears on the shell window, whether or not I am currently typing in the shell or the text editing window. As I said, trivial. The second is trivial and quite irritating. I'm used to being able to click on the autocomplete in order to accept it (i.e. I'm typing random.rand and click on the highlighted "randint" which appears below). I've come to realize that IDLE does not support this, which is perfectly acceptable. However, when I click on it (which I do accidentally out of habit) the cursor disappears entirely and I cannot regain focus... at least until I click some kind of button. My current method of escape is to highlight (which I can still do), right click, and choose "Go to file/line". IDLE informs me that "The line you point at isn't valid..." and after choosing "Ok" my cursor is restored. The last is more serious but easy to avoid. I have a secondary monitor which I connect to my laptop via HDMI. With a little experimentation, I've discovered that IDLE crashes when it tries to display the autocorrect reference box in the second monitor. I hope these bug reports will help you to discover the source of the problems as you continue developing IDLE. Thank you for the effort you've dedicated to making IDLE what it is today. Andrew -------------- next part -------------- An HTML attachment was scrubbed... URL: From archera.archer at gmail.com Sun Jan 24 06:46:26 2016 From: archera.archer at gmail.com (L Lindisfarne) Date: Sun, 24 Jan 2016 11:46:26 +0000 Subject: [Idle-dev] python 3.5.1 Message-ID: Hi I was trying to install a copy of Python, do I need to email you for a licence agreement? Thanks Aileen Archer From andresobregonlopez at gmail.com Sat Jan 30 08:16:37 2016 From: andresobregonlopez at gmail.com (andres obregon lopez) Date: Sat, 30 Jan 2016 14:16:37 +0100 Subject: [Idle-dev] IDLE 3.5.0 Run Module , Question Message-ID: Dear Idle Developers Python I have been just starting learning Python and I am following this lecture https://class.coursera.org/programming1-002/lecture/24 But I do not find in my IDLE 3.5.0 how to Run Module Do I have to install something else to be able to do it? or How do I Run a Module? Thanks you very much in advance for any help... Kind regards! Andres Obregon Lopez andresobregon.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-01-30 at 2.12.45 PM.png Type: image/png Size: 244885 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen Shot 2016-01-30 at 2.14.30 PM.png Type: image/png Size: 230033 bytes Desc: not available URL: From srlawson at tiscali.co.uk Sun Jan 31 12:07:40 2016 From: srlawson at tiscali.co.uk (S Lawson) Date: Sun, 31 Jan 2016 17:07:40 +0000 Subject: [Idle-dev] Getting Numpy working in IDLE Message-ID: <56AE3F5C.1040806@tiscali.co.uk> I have numpy installed on the computer i.e. in a python shell '>>> import numpy' works but not from within the working IDLE (Python-3.4). Are there any notes available that would help me. Thanks in advance From rojectp2015 at gmail.com Thu Jan 7 05:45:41 2016 From: rojectp2015 at gmail.com (Project) Date: Thu, 07 Jan 2016 10:45:41 -0000 Subject: [Idle-dev] Underscore visibility qurey Message-ID: <0B6C1894-055E-4287-8877-158C99A86942@gmail.com> Good day I am a new user to Python and have downloaded Idle (Python version: 3.4.3; Tk Version: 8.5.9; IDLE version: 3.4.3). I am using the book "Python for kids" as a starter and have noticed that when I try to use the underscore (_) in the Python shell the underscore is not visible. Is there any way to rectify this? I have copied the two lines of code from the Python shell window below and the underscore is definitely there - just not visible! >>> number_of_coins=200 >>> print(number_of_coins) Regards Project