This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: code.interact() doesn't support no banner
Type: enhancement Stage: resolved
Components: Library (Lib) Versions: Python 3.3, Python 3.4
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: Drekin, python-dev
Priority: normal Keywords:

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:44adminsetgithub: 61930
2013-10-13 19:49:01python-devsetstatus: open -> closed

nosy: + python-dev
messages: + msg199778

resolution: fixed
stage: resolved
2013-04-14 11:48:37Drekincreate