[Python-bugs-list] Python 1.6a1 - Misc/python-mode.el not updated? (PR#264)
Guido van Rossum
guido@python.org
Mon, 03 Apr 2000 18:54:58 -0400
> >> Wouldn't it be easier to have python-mode simply insert
>
> >> if 1:
>
> >> in front of any indented block of code being sent to the interpreter?
>
> François> It might work indeed. But given that the patch exists for
> François> doing it neatly, why not just do it neatly?
>
> It was just an observation. I generally can barely read Emacs Lisp these
> days, with all the conventions programmers must adhere to to get things to
> work in at least four different versions (GNU Emacs and XEmacs in both
> windowed and non-windowed environments), so all I was doing was reacting to
> all the "+" lines in the diff and thinking that inserting "if 1:" would be a
> simpler patch.
Plus, inserting "if 1:" doesn't affect the value of multi-line
triple-quoted strings. And who says that indenting is neater than
inserting "if 1:"?
(François said something about disk accesses that I don't understand...)
--Guido van Rossum (home page: http://www.python.org/~guido/)