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 ohe
Recipients arigo, dmi.baranov, docs@python, ezio.melotti, jough, ohe, pconnell
Date 2013-07-03.17:24:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372872253.22.0.486435776092.issue18033@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a fixed version for python2.7. Using StringIO instead of io module fixes the problem pointed by Ezio.
The print_stats method dumps the stats either on sys.stdout if `Stats` class is declared without a stream specification or in the given stream parameter (the name print_stats may be a bit misleading).
History
Date User Action Args
2013-07-03 17:24:13ohesetrecipients: + ohe, arigo, ezio.melotti, docs@python, pconnell, dmi.baranov, jough
2013-07-03 17:24:13ohesetmessageid: <1372872253.22.0.486435776092.issue18033@psf.upfronthosting.co.za>
2013-07-03 17:24:13ohelinkissue18033 messages
2013-07-03 17:24:13ohecreate