Message190823
Thanks for the patches, however the Python 2 example doesn't work.
I think a BytesIO should be used instead of a StringIO, and print_stats() only returns a pstats.Stats instance, without actually printing any result.
I wonder if print_results was an old method that has been removed and if now there's another way to print the results.
I haven't tried on Python 3 yet, but the same comment might apply there too. |
|
Date |
User |
Action |
Args |
2013-06-08 20:26:52 | ezio.melotti | set | recipients:
+ ezio.melotti, docs@python, pconnell, dmi.baranov, jough |
2013-06-08 20:26:52 | ezio.melotti | set | messageid: <1370723212.4.0.844275738785.issue18033@psf.upfronthosting.co.za> |
2013-06-08 20:26:52 | ezio.melotti | link | issue18033 messages |
2013-06-08 20:26:52 | ezio.melotti | create | |
|