[Idle-dev] idle development && run script

Guido van Rossum guido@beopen.com
Wed, 09 Aug 2000 18:02:20 -0500


> I have recently become interested in idle because I need a
> decent python ide for some programming workshops. The people
> are either newbies or have experience with Borland's
> Turbo Pascal IDE.
> 
> Now that I am evaluating idle for this task I have come
> across some "issues". The most annoying is to have to
> save every time before running a script. I have hacked this
> for my version so that it tries to save before attempting
> to run (and throws an errorbox only in case the save does
> not succeed).
> 
> It works fine (at least for my purposes), but there is
> a comment on the top of getfilename in ScriptBinding.py
> saying "Better logic would offer to save!". I disagree
> with this.
> 
> What are the current plans for idle development?

Not much -- we've got so much else to do that we're waiting for 2.0 to
be complete before we get back to IDLE (probably).

In the mean time, I agree with you that this area of IDLE needs a lot
of improvement.  I have some ideas (with Jeremy) for completely
revamping this part of IDLE, which involve running the program in a
separate process altogether (the only way to get everything to work
right).  This would require a lot of restructuring, and the code you
are patching would probably disappear completely...

I'm not sure what to do about your proposed patch, but I do want to
say that I am *against* saving without asking the user.

--Guido van Rossum (home page: http://www.pythonlabs.com/~guido/)