From basherwo at ncsu.edu Wed Sep 15 06:49:48 2010 From: basherwo at ncsu.edu (Bruce Sherwood) Date: Tue, 14 Sep 2010 22:49:48 -0600 Subject: [Idle-dev] VIDLE for Python 3 Message-ID: I admit to being confused about the status of discussions about moving IDLE forward. I've made a VIDLE for Python 3, and a patch file for going from the Python 3 IDLE to the Python 3 VIDLE is available here: http://vpython.org/vidle/index.html Here are the details (which I added to the VIDLE copy of NEWS.txt): In December 2008 David Scherer created an alternative version of IDLE to fix some long-standing problems. In the 2009 Google Summer of Code Guilherme Polo continued this work, assisted by Bruce Sherwood. Important new features include a configuration preference that permits writing and running test programs from the editor without having to save the file, and bringing the shell window forward in case of an error (because novices often failed to realize why their program had stopped). Polo submitted patches at the end of the summer of 2009, found here: http://code.google.com/p/google-summer-of-code-2009-python/downloads/list This was for the Python 2.X series. Because the mechanism was not clear for getting these patches into the version of IDLE distributed with Python, the patched version has been distributed with VPython (vpython.org) with the name VIDLE to attempt to avoid confusion with IDLE. It is installed into site-packages. In September 2010 Bruce Sherwood manually applied Polo's patches to the version of IDLE distributed with Python 3.1.2, using relative addressing of modules (e.g. from . import PyShell). Except for having to change one absolute address in the use of __import__ in PyShell.py, this version can work either in Python31/Lib/idlelib or in Python31/Lib/site-packages/vidle. This Python 3 VIDLE is available at vpython.org and is included in the Windows installer for VPython for Python 3 (at the time of writing, there is not yet an installer for Mac or Linux). Bruce Sherwood From basherwo at ncsu.edu Wed Sep 15 21:26:53 2010 From: basherwo at ncsu.edu (Bruce Sherwood) Date: Wed, 15 Sep 2010 13:26:53 -0600 Subject: [Idle-dev] VIDLE for Python 3 In-Reply-To: References: Message-ID: I should add that there is in VIDLE one additional file, FileRevert.py, implemented by Guilherme Polo, I believe. Since it is a new file, it doesn't show up in the diff file. In help.txt is this new comment: Revert -- Discard all changes since the last save Bruce Sherwood On Tue, Sep 14, 2010 at 10:49 PM, Bruce Sherwood wrote: > I admit to being confused about the status of discussions about moving > IDLE forward. I've made a VIDLE for Python 3, and a patch file for > going from the Python 3 IDLE to the Python 3 VIDLE is available here: > > ? ? http://vpython.org/vidle/index.html > > Here are the details (which I added to the VIDLE copy of NEWS.txt): > > In December 2008 David Scherer created an alternative version of IDLE to fix > some long-standing problems. In the 2009 Google Summer of Code Guilherme Polo > continued this work, assisted by Bruce Sherwood. Important new features > include a configuration preference that permits writing and running test > programs from the editor without having to save the file, and bringing the > shell window forward in case of an error (because novices often failed to > realize why their program had stopped). > > Polo submitted patches at the end of the summer of 2009, found here: > http://code.google.com/p/google-summer-of-code-2009-python/downloads/list > This was for the Python 2.X series. > > Because the mechanism was not clear for getting these patches into the > version of IDLE distributed with Python, the patched version has been > distributed with VPython (vpython.org) with the name VIDLE to attempt to > avoid confusion with IDLE. It is installed into site-packages. > > In September 2010 Bruce Sherwood manually applied Polo's patches to the > version of IDLE distributed with Python 3.1.2, using relative addressing > of modules (e.g. from . import PyShell). Except for having to change one > absolute address in the use of __import__ in PyShell.py, this version > can work either in Python31/Lib/idlelib or in Python31/Lib/site-packages/vidle. > This Python 3 VIDLE is available at vpython.org and is included in the > Windows installer for VPython for Python 3 (at the time of writing, there > is not yet an installer for Mac or Linux). > > Bruce Sherwood > From pgallot at ameritech.net Sat Sep 25 07:47:59 2010 From: pgallot at ameritech.net (Patrick Gallot) Date: Sat, 25 Sep 2010 00:47:59 -0500 Subject: [Idle-dev] IDLE Tiled In-Reply-To: <4C9D3D09.3070909@ameritech.net> References: <4C9B967C.7080600@ameritech.net> <4C9D3D09.3070909@ameritech.net> Message-ID: <4C9D8D0F.2000508@ameritech.net> Hello, Below are some screen shots of IDLE using different ttk themes (on windows XP). Attached is a version 2.7 of IDLE modified to use ttk (Tiled TK) now included with Python 2.7. In doing this conversion, I made heavy use of the documentation from http://www.tkdocs.com/ A few caveats: - I know of one bug where a blank Toplevel window pops-up when opening a new window, I'm not entirely sure why. - dynOptionMenuWidget.py and tabbedpages.py are no longer used. TreeWidget now uses ttk's Treeview. - To assist in debugging, I have it use a random ttk theme. IDLE about dlg with alt themePathBrowser with winnative themeIDLE config screen with xpnative theme IDLE Preferences with 'Classic' Theme -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: alt_about.PNG Type: image/png Size: 57564 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: winnative_pathbrowser.PNG Type: image/png Size: 259336 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: xpnative_settings4.PNG Type: image/png Size: 69837 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: classic_settings2.PNG Type: image/png Size: 59801 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: IdleTiled-2.7.2.zip Type: application/octet-stream Size: 169346 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: pgallot.vcf Type: text/x-vcard Size: 151 bytes Desc: not available URL: