[ python-Feature Requests-882171 ] Enable command line exit in IDLE.

SourceForge.net noreply at sourceforge.net
Fri Jan 30 18:50:45 EST 2004


Feature Requests item #882171, was opened at 2004-01-22 10:16
Message generated for change (Comment added) made by gvanrossum
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=882171&group_id=5470

Category: IDLE
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Raymond Hettinger (rhettinger)
>Assigned to: Raymond Hettinger (rhettinger)
Summary: Enable command line exit in IDLE.

Initial Comment:
Currently, typing 'exit' in the interactive shell produces 
the message, "Use File/Exit or your end-of-file key to 
quit IDLE".

It would be nice if it actually quit instead of telling you 
another way to do it.

----------------------------------------------------------------------

>Comment By: Guido van Rossum (gvanrossum)
Date: 2004-01-30 18:50

Message:
Logged In: YES 
user_id=6380

You have two choices. (1) typing exit or quit raises a
NameError exception. (2) typing exit ot quit prints the
error message that it currently prints. Pick the one that is
least confusing. Having exit or quit actually cause IDLE to
exit is not an option.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2004-01-30 14:20

Message:
Logged In: YES 
user_id=149084

We have three ways to leave IDLE: File/Exit, the accelerator
key associated with that, and ctrl-D/-Z.  Typing "quit" or "exit" at
the shell prompt gives the user a hint on how to leave the
shell the Pythonic way, and that's different on various platforms.

I'm -1 on this since IMO the IDLE shell should educate users
on how to use command line Python.

GvR has the decision.  

----------------------------------------------------------------------

Comment By: Raymond Hettinger (rhettinger)
Date: 2004-01-29 19:42

Message:
Logged In: YES 
user_id=80475

In those days, we didn't have color monitors, mouse pads, or
expect that our code would still be running when our hair
turned gray.

I'm bumping this one back up to five because improving the
user experience ought to be a priority for us.

----------------------------------------------------------------------

Comment By: Kurt B. Kaiser (kbk)
Date: 2004-01-22 11:57

Message:
Logged In: YES 
user_id=149084

Currently, typing 'exit' in the Python interactive shell
produces

Python 2.4a0 (#64, Jan 22 2004, 00:54:11) 
[GCC 2.95.3 20010125 (prerelease, propolice)] on openbsd3
Type "help", "copyright", "credits" or "license" for more information.
>>> exit
'Use Ctrl-D (i.e. EOF) to exit.'
>>> 

It would be nice...etc.

I don't know why Guido chose to do this.  IDLE's shell
tries to mimic the Python shell.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=882171&group_id=5470



More information about the Python-bugs-list mailing list