Georg Brandl added the comment:

If you know you have an expression and would like the value, you should use the 
"eval" mode.

In the case of "single", you can adapt sys.displayhook to change where to print 
(if at all) the values.  Note that "single" sometimes prints multiple values 
(try e.g. "for i in range(10):\n    i\n").

----------
nosy: +georg.brandl
resolution:  -> rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue17294>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to