##// 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 / resources
Info.plist.example Loading ...
generate_icons.sh Loading ...
ipynb_icon.icns Loading ...
ipynb_icon_128x128.png Loading ...
ipynb_icon_16x16.png Loading ...
ipynb_icon_16x16.svg Loading ...
ipynb_icon_24x24.png Loading ...
ipynb_icon_24x24.svg Loading ...
ipynb_icon_256x256.png Loading ...
ipynb_icon_32x32.png Loading ...
ipynb_icon_32x32.svg Loading ...
ipynb_icon_512x512.png Loading ...
ipynb_icon_512x512.svg Loading ...
ipynb_icon_64x64.png Loading ...