[Python-Dev] exit in builtins (original) (raw)
Andrew Durdin adurdin at gmail.com
Thu Aug 26 14:23:09 CEST 2004
- Previous message: [Python-Dev] exit in __builtins__
- Next message: AW: [Python-Dev] exit in __builtins__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, 26 Aug 2004 09:07:02 -0300, Rodrigo B. de Oliveira <rodrigobamboo at gmail.com> wrote:
Hi!
Try to type 'exit' or 'quit' in the interactive shell and you see its purpose. Pretty clever.
Yes, it's the string that tells you the proper way to exit the interpreter.
But does this really belong in builtins? Wouldn't it be better for the interactive interpreter to register it as a global when it sets up, as it only makes sense in the context of the interactive interpreter?
Not that it's a big deal :)
- Previous message: [Python-Dev] exit in __builtins__
- Next message: AW: [Python-Dev] exit in __builtins__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]