[Idle-dev] Submitted Guilherme Polo's enhancement

Guido van Rossum guido at python.org
Wed Oct 13 05:27:59 CEST 2010

Hi Bruce,

Thanks very much you for your perseverance. It sounds like the money
on the GSOC student was well spent. Thanks also for observing novices
and fixing the issues that cause them the most pain! Hopefully someone
will review and commit the patches soon!


On Tue, Oct 12, 2010 at 8:24 PM, Bruce Sherwood <basherwo at ncsu.edu> wrote:
> With great help from Tal Einat on the mechanics of how to submit
> Guilherme Polo's enhancements, I've presented a diff file to
> bugs.python.org against the Python 3.1.2 version of idlelib (tag
> r312).
> Here's the description:
> 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 fixes and features include:
>  * A configuration preference that permits writing and running
>   test programs from the editor without having to save the file
>   (you're warned upon quitting whether to save).
>  * Bringing the shell window forward in case of an error (because
>   novices often failed to realize why their program had stopped).
>  * A revert plug-in (FileRevert.py).
>  * Unreliable and slow termination of user program on Windows;
>   now you can re-run without first closing the graphics window.
>  * Missing preferences and other menus on Macintosh.
>  * Use any port for RPC server, so multiple instances of VIDLE
>   can run at the same time without interference.
> Polo submitted patches at the end of the summer of 2009, found at
> 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 October 2010 Bruce Sherwood manually applied Polo's patches
> to the idlelib found at
>   svn.python.org/projects/python/tags/r312/Lib/idlelib
> In addition to applying Polo's patches, the new code uses the new
> dot 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 VIDLE will be included in
> the installer for VPython for Python 3.
> _______________________________________________
> IDLE-dev mailing list
> IDLE-dev at python.org
> http://mail.python.org/mailman/listinfo/idle-dev

--Guido van Rossum (python.org/~guido)

More information about the IDLE-dev mailing list