[issue17294] compile-flag for single-execution to return value instead of printing it
Albert Zeyer
report at bugs.python.org
Mon Oct 14 21:15:08 CEST 2013
Albert Zeyer added the comment:
I don't know that I have an expression and I want it also to work if it is not an expression. Basically I really want the 'single' behavior. (My not-so-uncommon use case: Have an interactive shell where the output on stdout does not make sense. Also I might want to save references to returned values.)
displayhook is not an option in any serious bigger project because you don't want to do overwrite that globally.
----------
resolution: rejected ->
status: closed -> open
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17294>
_______________________________________
More information about the Python-bugs-list
mailing list