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 jstasiak
Recipients ezio.melotti, jstasiak, pitrou, r.david.murray, serhiy.storchaka, tim.peters
Date 2013-09-16.01:17:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1379294270.51.0.418162229485.issue18975@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine: I agree that it does look weird to have thousands separators at one place and not at the other but IMO it's still slightly better - the number formatted with separators is simply more readable that separator-less one.

R. David Murray: what's the acceptable separator then? Modifying it to be locale-aware would make it inconsistent with the rest of the output (which, admittedly, is also the case with introducing space separator, dot still is the fraction separator though).

I modified my patch to not have the separators at all, please find timeit-v3-actual-changes-no-separators.patch - if that's the condition for accepting this patch then so be it - the description of the patch would be "print number of loops per second" and the example output is:

10000 loops, best of 3: 34.6 usec per loop (28870 loops/s)
History
Date User Action Args
2013-09-16 01:17:50jstasiaksetrecipients: + jstasiak, tim.peters, pitrou, ezio.melotti, r.david.murray, serhiy.storchaka
2013-09-16 01:17:50jstasiaksetmessageid: <1379294270.51.0.418162229485.issue18975@psf.upfronthosting.co.za>
2013-09-16 01:17:50jstasiaklinkissue18975 messages
2013-09-16 01:17:49jstasiakcreate