[New-bugs-announce] [issue35849] Added thousands separators to Lib/pstats.py final report

Addons Zz report at bugs.python.org
Tue Jan 29 07:52:11 EST 2019


New submission from Addons Zz <addonszz at outlook.com>:

Instead of doing:
```
         10056.0 function calls in 0.006 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
     1.0    0.002    0.002    0.006    0.006 benchmark_tests.py:121(logging_mod_log_debuglog_off)
  5000.0    0.002    0.000    0.004    0.000 F:\Python\lib\logging\__init__.py:1362(debug)
  5000.0    0.001    0.000    0.001    0.000 F:\Python\lib\logging\__init__.py:1620(isEnabledFor)
```

Do:
```
         10,056.0 function calls in 0.006 seconds

   Ordered by: internal time

   ncalls  tottime  percall  cumtime  percall filename:lineno(function)
      1.0    0.002    0.002    0.006    0.006 benchmark_tests.py:121(logging_mod_log_debuglog_off)
  5,000.0    0.002    0.000    0.004    0.000 F:\Python\lib\logging\__init__.py:1362(debug)
  5,000.0    0.001    0.000    0.001    0.000 F:\Python\lib\logging\__init__.py:1620(isEnabledFor)
```

----------
components: Library (Lib)
messages: 334513
nosy: addons_zz
priority: normal
severity: normal
status: open
title: Added thousands separators to Lib/pstats.py final report
type: enhancement
versions: Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35849>
_______________________________________


More information about the New-bugs-announce mailing list