[issue31908] trace module cli does not write cover files

Michael Selik report at bugs.python.org
Tue Oct 31 21:10:39 EDT 2017


Michael Selik <michael.selik at gmail.com> added the comment:

While writing a patch for this, I noticed the ``lnotab`` parameter seems nearly unused. It's a dict, but is only used for its keys.

https://github.com/python/cpython/blob/master/Lib/trace.py#L333

Further, the choice to count unreached lines only when ``show_missing`` was set seems inconsistent.

https://github.com/python/cpython/blob/master/Lib/trace.py#L335

https://github.com/python/cpython/blob/master/Lib/trace.py#L280

----------

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


More information about the Python-bugs-list mailing list