<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-coveragepy-git.git/coverage/sqldata.py, branch 7.2.2</title>
<subtitle>github.com: nedbat/coveragepy.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/'/>
<entry>
<title>refactor: no placebos, use true Optional</title>
<updated>2023-02-14T10:32:26+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-02-13T23:29:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=026d924e6d9449c632b1fec0c1f82f4f867e9724'/>
<id>026d924e6d9449c632b1fec0c1f82f4f867e9724</id>
<content type='text'>
For objects that truly might not exist, use Optional.  Some objects will
always exist eventually, and for those we have some null implementation
standins to use without making new placebo classes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For objects that truly might not exist, use Optional.  Some objects will
always exist eventually, and for those we have some null implementation
standins to use without making new placebo classes.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: Path objects are ok for data_file and config_file. #1552</title>
<updated>2023-02-12T16:52:05+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-02-12T14:27:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=f77be1770a9d93ed69d6b5a26dcbe5dbfe14e380'/>
<id>f77be1770a9d93ed69d6b5a26dcbe5dbfe14e380</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>refactor: use placebos instead of non-existent attributes</title>
<updated>2023-02-11T22:59:25+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-02-11T22:59:25+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=6bc043981f6548852844ea6b16d5ef7d37c0417d'/>
<id>6bc043981f6548852844ea6b16d5ef7d37c0417d</id>
<content type='text'>
Details of the problem and thought process:
https://nedbatchelder.com/blog/202302/late_initialization_with_mypy.html
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Details of the problem and thought process:
https://nedbatchelder.com/blog/202302/late_initialization_with_mypy.html
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: simplify purges_files</title>
<updated>2023-02-08T20:16:05+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-02-08T14:11:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=423fa596325acb8f6bcb37a3502cf7853e5d395a'/>
<id>423fa596325acb8f6bcb37a3502cf7853e5d395a</id>
<content type='text'>
Also, move tests to test_data.py, and finish covering the code.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also, move tests to test_data.py, and finish covering the code.
</pre>
</div>
</content>
</entry>
<entry>
<title>feat: add purge_files method to CoverageData + unit tests for it (#1547)</title>
<updated>2023-02-04T23:20:20+00:00</updated>
<author>
<name>Wingware Development</name>
<email>59840981+wingware-dev@users.noreply.github.com</email>
</author>
<published>2023-02-04T23:20:20+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=a4cd6a01f766359fbe8ff159e0ed87e03e8023ed'/>
<id>a4cd6a01f766359fbe8ff159e0ed87e03e8023ed</id>
<content type='text'>
* Add purge_files method to CoverageData, to allow for selective removal and update
of coverage data.

* Fix assert syntax so it's not true; this code isn't reached in the test unless it fails
and then it would have failed to fail.

* Remove trailing whitespace; did not expect this would matter on a blank line.

* Add type annotations required by mypy

---------

Co-authored-by: Stephan Deibel &lt;sdeibel@wingware.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add purge_files method to CoverageData, to allow for selective removal and update
of coverage data.

* Fix assert syntax so it's not true; this code isn't reached in the test unless it fails
and then it would have failed to fail.

* Remove trailing whitespace; did not expect this would matter on a blank line.

* Add type annotations required by mypy

---------

Co-authored-by: Stephan Deibel &lt;sdeibel@wingware.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>fix: two typing tweaks</title>
<updated>2023-02-04T17:00:32+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-02-04T17:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=441823f18f705b8a79829cca36142a7f1511477b'/>
<id>441823f18f705b8a79829cca36142a7f1511477b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>perf: avoid needless sql operations. #1538</title>
<updated>2023-01-25T00:23:48+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-24T00:44:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=4cc32922685c6971275f522304b3754ad1a233c1'/>
<id>4cc32922685c6971275f522304b3754ad1a233c1</id>
<content type='text'>
If the set of arcs is empty, skip the SQL operations.  We also need to
allow setting a file tracer for an unmeasured file, to avoid the Cython
problem whose fix caused the performance issue in the first place.

TBH, I don't know why we had to prevent file tracers on unmeasured
files.  Perhaps pytest-cov has changed to avoid the behavior that caused
problems.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If the set of arcs is empty, skip the SQL operations.  We also need to
allow setting a file tracer for an unmeasured file, to avoid the Cython
problem whose fix caused the performance issue in the first place.

TBH, I don't know why we had to prevent file tracers on unmeasured
files.  Perhaps pytest-cov has changed to avoid the behavior that caused
problems.
</pre>
</div>
</content>
</entry>
<entry>
<title>style: use good style for annotated defaults parameters</title>
<updated>2023-01-06T01:10:24+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-06T01:10:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=78444f4c06df6a634fa67dd99ee7c07b6b633d9e'/>
<id>78444f4c06df6a634fa67dd99ee7c07b6b633d9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>mypy: Iterator is better than Generator</title>
<updated>2023-01-05T17:55:18+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-05T12:12:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=8ff3c6dfe6207dc79ed7be5105675d2f08725b76'/>
<id>8ff3c6dfe6207dc79ed7be5105675d2f08725b76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix: race condition on data file shouldn't break combining. #1522</title>
<updated>2023-01-03T23:23:56+00:00</updated>
<author>
<name>Ned Batchelder</name>
<email>ned@nedbatchelder.com</email>
</author>
<published>2023-01-03T23:23:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-coveragepy-git.git/commit/?id=1f34d8b095d8e7c9d3276f1fc768a5d83d9e2aff'/>
<id>1f34d8b095d8e7c9d3276f1fc768a5d83d9e2aff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
