[issue27573] code.interact() should print an exit message
Steven D'Aprano
report at bugs.python.org
Thu Aug 18 06:59:12 EDT 2016
Steven D'Aprano added the comment:
On Thu, Aug 18, 2016 at 08:19:25AM +0000, Armin Rigo wrote:
> Can we make the exit message optional?
Sure. What API do you prefer? I'm thinking to just give interact() an
optional "exitmsg" argument, similar to banner:
def interact(banner=None, readfunc=None, local=None, exitmsg=None):
and similar for InteractiveConsole.interact.
If you're happy with that, I should be able to get the change done over
this coming weekend.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27573>
_______________________________________
More information about the Python-bugs-list
mailing list