[Python-Dev] exit in __builtins__

Andrew Durdin adurdin at gmail.com
Thu Aug 26 14:23:09 CEST 2004


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 :)


More information about the Python-Dev mailing list

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant