[Idle-dev] Separate process; automatic save for a run

Guido van Rossum guido@beopen.com
Thu, 10 Aug 2000 15:31:24 -0500


> I think the ideal behavior is:
> 
> 1) The files being edited are only overwritten with the explicit
> consent of the user.
> 
> 2) The program always executes *as though* the user had saved all buffers.
> If the user's script imports a module which is being edited, the editor
> buffer needs to be used instead of the file on disk.
> 
> 3) A single keystroke suffices to run a program.
> 
> One way to implement this is with ".new" files.  Another, which makes a
> lot of sense in a multiple-process model, is to pass the buffers directly
> to the loader program through the control channel (a socket in my design).
> In either case, import needs to be hooked to get the right version of
> modules.

Yes.

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