Issue 17730: code.interact() doesn't support no banner (original) (raw)

Issue17730

Created on 2013-04-14 11:48 by Drekin, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg186914 - (view) Author: Adam Bartoš (Drekin) * Date: 2013-04-14 11:48
Currently, there is no way to run code.interact without a banner – empty string still means to print an empty line. If I want that behaviour, I must subclass code.InteractiveConsole and reimplement whole .interact method including the repl logic just not to print a banner. Maybe there should be .print_banner method for this.
msg199778 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-10-13 19:49
New changeset 2933598a7802 by Georg Brandl in branch 'default': Closes #17730: in code.interact(), when banner="", do not print anything. http://hg.python.org/cpython/rev/2933598a7802
History
Date User Action Args
2022-04-11 14:57:44 admin set github: 61930
2013-10-13 19:49:01 python-dev set status: open -> closednosy: + python-devmessages: + resolution: fixedstage: resolved
2013-04-14 11:48:37 Drekin create