Roundup Robot added the comment:
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
--
nosy: +python-dev
resolution: - fixed
stage: - committed/rejected
New submission from Drekin:
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