Sourced from coverage's changelog.
Version 7.2.6 — 2023-05-23
Fix: the
lcov
command could raise an IndexError exception if a file is translated to Python but then executed under its own name. Jinja2 does this when rendering templates. Fixesissue 1553
_.Python 3.12 beta 1 now inlines comprehensions. Previously they were compiled as invisible functions and coverage.py would warn you if they weren't completely executed. This no longer happens under Python 3.12.
Fix: the
coverage debug sys
command includes some environment variables in its output. This could have included sensitive data. Those values are now hidden with asterisks, closingissue 1628
_... _issue 1553: nedbat/coveragepy#1553 .. _issue 1628: nedbat/coveragepy#1628
.. _changes_7-2-5:
a138669
docs: sample HTML for 7.2.6afa4caf
docs: prep for 7.2.6009b529
fix: adapt to new tokenize error messages2a0cee9
test: cpython 104686 is fixed, un-xfail this test37b922a
test: suppress an ast deprecation warning5925d8a
build: run tests on 3.121a1d176
build: clean more cache directories044ffa6
test: xfail a test because of CPython issue 10468612333be
test: remove xfail for pypy bugs 3936 and 39373fb8da5
fix: hide sensitive environment variables with asterisks. #1628