Message192246
| 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). |
|