[issue8220] site.py's Quitter pollutes builtins with exit and quit for non-interactive use

Derek Wilson report at bugs.python.org
Wed Dec 18 16:53:25 CET 2013


Derek Wilson added the comment:

could this be reconsidered for 3.5+? most of the legacy code that you were worried about breaking would not port without tonnes of work anyway.

it would also be nice to modify quitter's repr actually exit (so you don't get that ridiculously annoying "Use exit() or Ctrl-D (i.e. EOF) to exit" message). but that would be dangerous to do if it were not available only in the interactive interpreter. while that is my motivation for wanting quitter out of the global namespace, i do understand that is a different ticket. which i will submit. :-)

----------
nosy: +underrun
versions: +Python 3.5 -Python 2.5, Python 2.6

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


More information about the Python-bugs-list mailing list