Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix: COLLECT_STATS crash due to wrong BuildValue format | Ned Batchelder | 2022-06-11 | 1 | -1/+1 |
| | | | | This should have been part of 80211966 from 2021-10-18. | ||||
* | Use `PyCode_GetCode` | Dennis Sweeney | 2022-06-06 | 1 | -1/+4 |
| | |||||
* | perf: set frame->f_trace_lines=0 when not tracing. ~3% faster | Ned Batchelder | 2022-05-28 | 1 | -0/+1 |
| | |||||
* | fix: fix compilation errors on latest 3.11.0 | Ned Batchelder | 2022-05-12 | 2 | -9/+30 |
| | |||||
* | debug: incidental debug improvements in tracer.c | Ned Batchelder | 2022-05-12 | 1 | -6/+9 |
| | |||||
* | fix: proper tracing of call/return for Python 3.11.0a4 | Ned Batchelder | 2022-01-15 | 1 | -9/+40 |
| | | | | | Version 3.11.0a4 introduced RESUME, so returns and calls are different now. This change also fixes some mishandling of yield-from in previous releases. | ||||
* | fix: CPython 3.11 support. #1241 | Ned Batchelder | 2021-11-10 | 1 | -1/+7 |
| | | | | | | | | | | | The fix for CTracer is egregious and will need to be updated when there's a supported way to do it. The fullcoverage skip is noted in https://github.com/nedbat/coveragepy/issues/1278 The raise_through_with skip is noted in https://github.com/nedbat/coveragepy/issues/1270 | ||||
* | style: make these macros more bullet-proof | Ned Batchelder | 2021-11-10 | 2 | -5/+5 |
| | |||||
* | refactor: no need for specialized pyexpat code anymore | Ned Batchelder | 2021-10-18 | 3 | -85/+0 |
| | | | | | | | | The pyexpat bug that plagued us was fixed in Python 3.4: https://bugs.python.org/issue22462 We no longer need the code that adapted to it. The test will remain, couldn't hurt. | ||||
* | perf: reduce the overhead of recording branches | Ned Batchelder | 2021-10-14 | 2 | -7/+28 |
| | |||||
* | refactor: use sets to collect data | Ned Batchelder | 2021-08-15 | 3 | -9/+8 |
| | | | | | | | Coverage.py predates sets as a built-in data structure, so the file data collection has long been dicts with None as the values. Sets are available to us now (since Python 2.4 in 2004, which coverage.py dropped support for in 2014!), we use sets. | ||||
* | debug: improved logging in tracer.c | Ned Batchelder | 2021-08-09 | 1 | -13/+14 |
| | |||||
* | refactor: Python 3.9 added an accessor for frame->f_code | Ned Batchelder | 2021-07-08 | 2 | -11/+18 |
| | | | | This accessor is now required in 3.11, so let's use it. | ||||
* | refactor: get rid of My* version shims we don't need anymore | Ned Batchelder | 2021-05-03 | 3 | -39/+19 |
| | |||||
* | refactor: remove unneeded Py2 C code | Ned Batchelder | 2021-05-02 | 2 | -59/+0 |
| | |||||
* | fix: adapt to 3.10.0a7's f_lasti field | Ned Batchelder | 2021-04-11 | 2 | -1/+9 |
| | |||||
* | Use the supported way to get a C frame's lineno | Ned Batchelder | 2021-01-10 | 1 | -10/+10 |
| | | | | See https://bugs.python.org/issue42823 for discussion. | ||||
* | Move disable_plugin to Python | Ned Batchelder | 2020-09-13 | 2 | -47/+10 |
| | |||||
* | Fix a missed exception handling for bad plugins | Ned Batchelder | 2020-09-13 | 1 | -1/+2 |
| | |||||
* | Revert "Remove a copy of a private macro, and just use it" #809 | Ned Batchelder | 2019-07-06 | 2 | -1/+9 |
| | | | | This reverts commit b777c96f885b8d91b5339940a31a6a8ec4bfa3f9. | ||||
* | Remove a copy of a private macro, and just use it | Ned Batchelder | 2019-04-07 | 2 | -9/+1 |
| | |||||
* | Dynamic contexts | Ned Batchelder | 2018-09-23 | 2 | -3/+5 |
| | |||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 9 | -9/+9 |
| | |||||
* | A new kind of plug-in: configurers. #563 | Ned Batchelder | 2018-01-06 | 1 | -2/+2 |
| | |||||
* | FIX always remove the callback from the callback itself | Olivier Grisel | 2017-09-04 | 1 | -1/+4 |
| | | | | | --HG-- branch : fix-thread-safety | ||||
* | FIX thread-safe Collector.save_data() | Olivier Grisel | 2017-08-10 | 1 | -0/+8 |
| | | | | | --HG-- branch : fix-thread-safety | ||||
* | Update URLs so link-checker doesn't spew red. | Ned Batchelder | 2017-06-14 | 1 | -2/+2 |
| | |||||
* | Properly round-trip the trace function even when not measuring coverage. #575 | Ned Batchelder | 2017-05-02 | 2 | -3/+12 |
| | |||||
* | Collecting continues after saving data. #79 #448 | Ned Batchelder | 2017-03-03 | 2 | -2/+28 |
| | |||||
* | Fix a little English | Ned Batchelder | 2017-03-03 | 1 | -1/+1 |
| | |||||
* | Simplify stack management in CTracer | Ned Batchelder | 2017-03-03 | 4 | -41/+50 |
| | | | | | | | "file_data" used to be borrowed from data, but that was confusing. Now it's owned. We used to have a struct member which was a copy of the current stack entry. That just made it harder to reason about reference counting. Now we have a pointer to the entry on the stack. | ||||
* | Prevent a hard crash when starting coverage thousands of times | Ned Batchelder | 2016-12-29 | 1 | -0/+1 |
| | |||||
* | A better name for a stat | Ned Batchelder | 2016-11-12 | 2 | -4/+4 |
| | |||||
* | Allow for the possibility of null-testing | Ned Batchelder | 2016-11-12 | 2 | -0/+9 |
| | |||||
* | A macro for extreme debugging. | Ned Batchelder | 2016-11-12 | 1 | -0/+3 |
| | |||||
* | Entry arcs now use the negative first line of the code object instead of -1. | Ned Batchelder | 2016-03-02 | 1 | -1/+6 |
| | |||||
* | Make a BOOL type for the C code. | Ned Batchelder | 2016-01-30 | 4 | -4/+5 |
| | |||||
* | Merged who-tests-what-170 | Ned Batchelder | 2016-01-30 | 5 | -6/+76 |
|\ | |||||
| * | Clean up WTW so that it is safe to merge | Ned Batchelder | 2016-01-30 | 2 | -4/+2 |
| | | |||||
| * | Fix a bad variable | Ned Batchelder | 2016-01-30 | 1 | -1/+1 |
| | | |||||
| * | WIP: record contexts for who tests what | Ned Batchelder | 2015-11-14 | 5 | -2/+70 |
| | | |||||
| * | TRUE and FALSE for booleans | Ned Batchelder | 2015-11-14 | 2 | -4/+8 |
| | | |||||
* | | Clean up in the C code | Ned Batchelder | 2016-01-30 | 2 | -26/+23 |
| | | |||||
* | | If STATS is enabled, all STATS() have to be after declarations | Ned Batchelder | 2015-11-24 | 1 | -1/+1 |
| | | |||||
* | | Possible fix for #445 and #420 | Ned Batchelder | 2015-11-21 | 1 | -13/+16 |
|/ | | | | | The line that seems to break #445 is the import of weakref, even if we never use it. Delaying the import until we need it seems to fix #445. | ||||
* | Fix a C declaration | Ned Batchelder | 2015-11-01 | 1 | -1/+2 |
| | |||||
* | whitespace... | Ned Batchelder | 2015-11-01 | 1 | -2/+2 |
| | |||||
* | Fix settrace(py_func). #436. | Ned Batchelder | 2015-11-01 | 1 | -8/+33 |
| | |||||
* | No more speed penalty for settrace(gettrace()). #397. | Ned Batchelder | 2015-10-03 | 1 | -0/+4 |
| | |||||
* | Quiet some C compiler warnings. | Ned Batchelder | 2015-08-30 | 2 | -4/+5 |
| |