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

Derek Wilson report at bugs.python.org
Wed Dec 18 17:10:15 CET 2013


New submission from Derek Wilson:

calling exit() or quit() is actually very cumbersome especially as most other commandline tools that have a command interface allow you to exit or quit by typing exit or quit and not by calling a function.

if quitter's builtins are only available in the interactive interpreter this seems like it would be perfectly safe. now that we are looking at 3.x going forward, perhaps we can reopen this: http://bugs.python.org/issue8220

----------
components: Extension Modules
files: quit_from_repr.patch
keywords: patch
messages: 206537
nosy: underrun
priority: normal
severity: normal
status: open
title: make site.py Quitter call itself on repr
versions: Python 3.5
Added file: http://bugs.python.org/file33194/quit_from_repr.patch

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


More information about the Python-bugs-list mailing list