What's up with site.Quitter?

skip at pobox.com skip at pobox.com
Wed Sep 27 06:40:45 EDT 2006


    Georg> Not really, but what would you do with it?  It's an internal
    Georg> object used for only exit() and quit(), and of no real use
    Georg> elsewhere.

In fact, I would argue that objects placed in builtins as a convenience in
inteactive mode shouldn't be colorized at all (dir, help, exit, quit,
copyright, credits, license, maybe vars).  They shouldn't be considered
special in code written to be used in non-interactive contexts.

Skip



More information about the Python-list mailing list