Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | A better test for 'if not __debug__' | Ned Batchelder | 2021-01-10 | 1 | -3/+1 | |
| | ||||||
* | PEP 626: constant tests are kept as no-ops | Ned Batchelder | 2021-01-10 | 1 | -1/+6 | |
| | | | | | The conditionals are now getting unwieldy, perhaps we can simplify them in the future? | |||||
* | In 3.10, modules always have firstlineno==1 | Ned Batchelder | 2021-01-10 | 1 | -1/+9 | |
| | ||||||
* | Use co_lines() if it's available | Ned Batchelder | 2021-01-10 | 1 | -27/+28 | |
| | ||||||
* | Use set literals | Ned Batchelder | 2021-01-03 | 1 | -9/+9 | |
| | ||||||
* | Thanks, Kjell Braden | Ned Batchelder | 2020-03-26 | 1 | -1/+0 | |
| | ||||||
* | handle decorators for AsyncFunctionDefs. Closes #964 | Kjell Braden | 2020-03-24 | 1 | -0/+2 | |
| | ||||||
* | Exit arcs have to be corrected to first lines | Ned Batchelder | 2019-09-21 | 1 | -1/+5 | |
| | | | | | | | | | | We've long remapped line numbers to the first line of a multi-line statement. But exit line numbers (negative numbers) were not remapped. This meant we were needlessly chasing weirdnesses in implementations. But the actual results of running coverage always remapped results to the first line, so there's no point in tracking the unmapped line numbers in our tests. | |||||
* | No need for format indexes (mostly) | Ned Batchelder | 2019-09-01 | 1 | -19/+19 | |
| | ||||||
* | This class was simpler as a function | Ned Batchelder | 2019-06-17 | 1 | -3/+2 | |
| | ||||||
* | Move more PYVERSION to be PYBEHAVIOR | Ned Batchelder | 2019-03-24 | 1 | -1/+1 | |
| | ||||||
* | Python 3.8 will optimize away "while True:" | Ned Batchelder | 2018-11-11 | 1 | -0/+21 | |
| | ||||||
* | Debug-time environment variables can be set with set_env.py | Ned Batchelder | 2018-11-03 | 1 | -0/+2 | |
| | ||||||
* | Adapt to 3.8's way of tracing decorated functions | Ned Batchelder | 2018-11-03 | 1 | -7/+24 | |
| | ||||||
* | Finally jumps back to exiting lines | Ned Batchelder | 2018-10-06 | 1 | -9/+38 | |
| | | | | | | In Python 3.8, when a finally clause is run because a line in the try block is exiting the block, the exiting line is visited again after the finally block. | |||||
* | Python 3.8 uses Constant nodes in the AST | Ned Batchelder | 2018-10-04 | 1 | -1/+1 | |
| | ||||||
* | Python 3.6 changed lnotab to signed bytes | Ned Batchelder | 2018-10-04 | 1 | -0/+2 | |
| | ||||||
* | Update NOTICE link to GitHub. | Ned Batchelder | 2018-06-24 | 1 | -1/+1 | |
| | ||||||
* | Properly handle empty decorated functions in 3.7. #640 | Ned Batchelder | 2018-02-09 | 1 | -6/+7 | |
| | ||||||
* | Update to pylint 1.7.1 | Ned Batchelder | 2017-04-22 | 1 | -1/+0 | |
| | ||||||
* | One more tweak to StopEverything | Ned Batchelder | 2017-01-21 | 1 | -2/+2 | |
| | ||||||
* | More-precise no-coverage pragmas | Ned Batchelder | 2017-01-19 | 1 | -1/+1 | |
| | ||||||
* | A few more lines covered | Ned Batchelder | 2017-01-17 | 1 | -1/+1 | |
| | ||||||
* | Properly handle if-statements optimized away. #522 | Ned Batchelder | 2017-01-16 | 1 | -9/+95 | |
| | ||||||
* | Slight AST_DUMP improvements | Ned Batchelder | 2017-01-16 | 1 | -3/+3 | |
| | ||||||
* | Reporting doesn't work on Jython, so don't run reporting tests there. | Ned Batchelder | 2017-01-14 | 1 | -4/+4 | |
| | | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f | |||||
* | 2.6 and 2.7 are not different wrt constants in while loops | Ned Batchelder | 2016-12-24 | 1 | -2/+1 | |
| | ||||||
* | Move the test program into the test | Ned Batchelder | 2016-12-24 | 1 | -1/+1 | |
| | ||||||
* | also use AST for while constants in python-2.7 #502 | loic@dachary.org | 2016-12-15 | 1 | -5/+6 | |
| | | | | | | | | | | | The node.id is set to False, True or None is python-2.7: there is no reason to only check for it with python-3. It is more reliable than using the DEFAULT_PARTIAL_ALWAYS regexps on source lines. close #502 --HG-- branch : issue-502-7 | |||||
* | Fix #496, while-true loop with a continue. | Ned Batchelder | 2016-12-18 | 1 | -1/+1 | |
| | ||||||
* | More parser code clean-up | Ned Batchelder | 2016-12-18 | 1 | -14/+25 | |
| | ||||||
* | Clean up #493 fix | Ned Batchelder | 2016-12-18 | 1 | -0/+2 | |
| | ||||||
* | Merged in dachary/coverage.py/issue-493-2 (pull request #108) | Ned Batchelder | 2016-12-18 | 1 | -5/+7 | |
|\ | | | | | | | finally happens before return in a try #493 | |||||
| * | finally happens before return in a try #493 | loic@dachary.org | 2016-12-18 | 1 | -5/+7 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In a try block such as: if expr: try: return finally print pass the print happens before the return and cannot be followed by pass. The general case is that when the body/else/handlers in a try block all have return, break etc., the code behind finally: has no arc to the statement following the try block. close #493 --HG-- branch : issue-493-2 | |||||
* | | More ast parsing clean-up. | Ned Batchelder | 2016-12-18 | 1 | -8/+19 | |
| | | ||||||
* | | More doc and cleanup of ast parsing | Ned Batchelder | 2016-12-18 | 1 | -6/+29 | |
| | | ||||||
* | | Add some to the ArcStart docstring, and remove defaultable arguments | Ned Batchelder | 2016-12-18 | 1 | -5/+9 | |
|/ | ||||||
* | Conditionalize the ast_dump code | Ned Batchelder | 2016-11-22 | 1 | -55/+60 | |
| | ||||||
* | Downgrading these from TODO | Ned Batchelder | 2016-10-22 | 1 | -6/+6 | |
| | ||||||
* | Update pylint to 1.5.6 | Ned Batchelder | 2016-06-25 | 1 | -0/+1 | |
| | ||||||
* | Better descriptions of missing one-line executables. Part of #475 | Ned Batchelder | 2016-03-27 | 1 | -6/+22 | |
| | ||||||
* | Entry arcs now use the negative first line of the code object instead of -1. | Ned Batchelder | 2016-03-02 | 1 | -6/+6 | |
| | ||||||
* | Better branch-missed messages for lambdas. | Ned Batchelder | 2016-02-25 | 1 | -2/+5 | |
| | ||||||
* | Pick off some lint | Ned Batchelder | 2016-02-15 | 1 | -7/+15 | |
| | ||||||
* | Add missing branch explanations for while-loop | Ned Batchelder | 2016-02-15 | 1 | -4/+6 | |
| | ||||||
* | Clean up new helper | Ned Batchelder | 2016-02-15 | 1 | -6/+11 | |
| | ||||||
* | Combine add_arc and add_missing_fragments | Ned Batchelder | 2016-02-15 | 1 | -39/+19 | |
| | ||||||
* | More missing-branch descriptions | Ned Batchelder | 2016-02-15 | 1 | -11/+19 | |
| | ||||||
* | Make the arc and fragment collection easier to trace | Ned Batchelder | 2016-02-14 | 1 | -63/+45 | |
| | ||||||
* | More work on better missing branch descriptions | Ned Batchelder | 2016-02-14 | 1 | -29/+67 | |
| |