[Idle-dev] The '>>> ' prompt is bad
Alan Gauld
alan.gauld at btinternet.com
Thu Jun 14 18:47:04 CEST 2012
On 17/01/12 01:00, Terry Reedy wrote:
> In http://bugs.python.org/issue7676 msg151418
> I conclude that putting a prompt on the first user entry line of each
> statement is a mistake that can only be solved by removing it. I see
> three alternatives. Discussion here or there welcome.
>
Having a prompt *only* on the first line is bad.
Not having any prompt would be worse.
Doing what the standard interpreter does would be best (and consistent
for users of both). ie:
>>> if True:
... pass
...
>>>
Where both prompt characters can be user defined for bonus credits...
Being able to strip the prompts when copy/pasting (like PyCrust does)
would earn a gold star.
IMHO,
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
More information about the IDLE-dev
mailing list