This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ezio.melotti
Recipients dmi.baranov, docs@python, ezio.melotti, jough, pconnell
Date 2013-06-08.20:26:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:52ezio.melottisetrecipients: + ezio.melotti, docs@python, pconnell, dmi.baranov, jough
2013-06-08 20:26:52ezio.melottisetmessageid: <>
2013-06-08 20:26:52ezio.melottilinkissue18033 messages
2013-06-08 20:26:52ezio.melotticreate