##// END OF EJS Templates
Merge pull request #2092 from bfroehle/prun_print_stats...
Merge pull request #2092 from bfroehle/prun_print_stats %prun: Restore `stats.stream` after running `print_stream` When profiling, the output from `print_stream` is captured so that the output can be paged. To do so, the `stream` attribute is set to a `StringIO` object but was not restored after the output was captured. As a result, the stats object returned by `%prun -r` did not display any output when calling its `print_stream` method. In addition, the `pstats.Stats` class has the `stream` attribute for all currently supported Python versions (2.6, 2.7, and 3.2, at least), so the extra branch of code can be removed. Closes #2091
Min RK -
r7959:965fc650 merge
Show More
Name Size Modified Last Commit Author
/ docs
attic
emacs
examples
man
resources
source
sphinxext
Makefile Loading ...
README.txt Loading ...
README_Windows.txt Loading ...
api_changes.txt Loading ...
autogen_api.py Loading ...
do_sphinx.py Loading ...
gh-pages.py Loading ...
make.cmd Loading ...
pycon.ico Loading ...
update_version.sh Loading ...

Current version information
---------------------------

Please open manual.pdf for a PDF version of IPython's user manual, or go to
the manual/ directory for an HTML version.


Bugs and future developments
----------------------------

The new_design.pdf document is a description of the goals for IPython's future
development. It includes a TODO/bugs section listing all currently known bugs
in IPython. Please report any bug you encounter if it is not already listed
there.