[issue20016] make site.py Quitter call itself on repr

Éric Araujo report at bugs.python.org
Wed Dec 18 18:39:47 CET 2013


Éric Araujo added the comment:

Sorry, it is a deliberate choice to not have reprs have side-effects, espercially as important as quitting the interpreter.  The repr of quit/exit is used in places such as pydoc help; it would be bad to quit when the user wants to see documentation, for example.

----------
components: +Library (Lib) -Extension Modules
nosy: +eric.araujo
resolution:  -> rejected
stage:  -> committed/rejected
status: open -> closed
type:  -> enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20016>
_______________________________________


More information about the Python-bugs-list mailing list