Message192246
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). |
|
Date |
User |
Action |
Args |
2013-07-03 17:24:13 | ohe | set | recipients:
+ ohe, arigo, ezio.melotti, docs@python, pconnell, dmi.baranov, jough |
2013-07-03 17:24:13 | ohe | set | messageid: <1372872253.22.0.486435776092.issue18033@psf.upfronthosting.co.za> |
2013-07-03 17:24:13 | ohe | link | issue18033 messages |
2013-07-03 17:24:13 | ohe | create | |
|