News for hackers. Stuff that matters.
Re:Enable tab-completion in the interactive interpreter by d... by gjhiggins on Sunday May 05, 2013 @01:01PM (#5658993)
The ipython interaction trace seems to run counter to the grain of doctest/docstring. I frequently copy and paste standard interactive sessions into a file to act as docstring exemplars or immediate doctest content for cross-platform/cross-version compatibility checking. I couldn't see how to do that with published ipython session output. Is it just a matter of changing the ipython prompt or is it a more fundamental issue?
Re:Enable tab-completion in the interactive interpreter by d... by fperez_org on Monday May 06, 2013 @04:12PM (#5664476)
You can always use `%doctest_mode` to toggle back and forth between IPython-style prompts and `>>>` ones (along with changing exception mode to be more standard-looking).
Re:Enable tab-completion in the interactive interpreter by d... by tshepang on Sunday May 05, 2013 @07:20PM (#5660163)
It's also ugly when copy-pasted, which does not stop people exposing such ugliness on sites like Stack Overflow.