summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
* finally happens before return in a try #493issue-493-2loic2016-12-181-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
* Conditionalize the ast_dump codeNed Batchelder2016-11-221-55/+60
|
* Downgrading these from TODONed Batchelder2016-10-221-6/+6
|
* Update pylint to 1.5.6Ned Batchelder2016-06-251-0/+1
|
* Better descriptions of missing one-line executables. Part of #475Ned Batchelder2016-03-271-6/+22
|
* Entry arcs now use the negative first line of the code object instead of -1.Ned Batchelder2016-03-021-6/+6
|
* Better branch-missed messages for lambdas.Ned Batchelder2016-02-251-2/+5
|
* Pick off some lintNed Batchelder2016-02-151-7/+15
|
* Add missing branch explanations for while-loopNed Batchelder2016-02-151-4/+6
|
* Clean up new helperNed Batchelder2016-02-151-6/+11
|
* Combine add_arc and add_missing_fragmentsNed Batchelder2016-02-151-39/+19
|
* More missing-branch descriptionsNed Batchelder2016-02-151-11/+19
|
* Make the arc and fragment collection easier to traceNed Batchelder2016-02-141-63/+45
|
* More work on better missing branch descriptionsNed Batchelder2016-02-141-29/+67
|
* Add missing branch descriptions for handling exceptionsNed Batchelder2016-02-131-2/+3
|
* Clean up some of the ArcStart causesNed Batchelder2016-02-131-15/+19
|
* More work on the better missed-branch messagesNed Batchelder2016-02-131-16/+22
|
* missing_arc_description is better than arc_destination_description. One test ↵Ned Batchelder2016-02-081-21/+32
| | | | broken.
* Move AST code togetherNed Batchelder2016-02-071-76/+77
|
* Centralize the no-op-iness of contractsNed Batchelder2016-02-071-5/+4
|
* More work to get better descriptions of arc behaviorNed Batchelder2016-02-071-43/+83
|
* Properly handle {**{'a':1}} literalsNed Batchelder2016-02-071-2/+7
|
* Different annotations on missed branches. I don't like them yet.Ned Batchelder2016-02-061-31/+60
|
* Don't track unhandled exception branchesNed Batchelder2016-01-291-17/+0
|
* How to flag uncaught exception branchesNed Batchelder2016-01-291-0/+5
|
* Simplify a conditionNed Batchelder2016-01-271-6/+5
|
* Fix #466: multi-line statements first in decorated functionsNed Batchelder2016-01-181-7/+25
| | | | Also, leave in the SetSpy tracer we've used before to find things like this.
* Stop treating yield-from and await as function returnsNed Batchelder2016-01-161-17/+0
|
* Class docstrings shouldn't be considered executable. Not sure what happened ↵Ned Batchelder2016-01-111-4/+1
| | | | there...
* Clean up the ast analyzer a littleNed Batchelder2016-01-101-11/+23
|
* Properly handle break/continue/raise/return from except/else clausesNed Batchelder2016-01-101-20/+35
|
* Class docstrings are executable.Ned Batchelder2016-01-101-8/+12
|
* Properly skip lines that are optimized awayNed Batchelder2016-01-091-9/+12
|
* Use all statements instead of specialized class and funcs sets in ast analysisNed Batchelder2016-01-091-18/+12
|
* Add some docstrings, etcNed Batchelder2016-01-091-12/+35
|
* Add a test of partial lambdasNed Batchelder2016-01-091-1/+0
|
* Put the lambda tests togetherNed Batchelder2016-01-081-0/+1
|
* Add tests of multiline lambdas, though i don't quite understand the line ↵Ned Batchelder2016-01-071-3/+2
| | | | numbers involved
* Clean up small stuffNed Batchelder2016-01-071-0/+9
|
* Bytecode not byte codeNed Batchelder2016-01-071-2/+2
|
* Remove the old bytecode-based branch analyzerNed Batchelder2016-01-061-359/+2
|
* Name the dispatched-to methods more unusuallyNed Batchelder2016-01-061-34/+34
|
* More uniform dispatch: use methods for everything, and handle defaults in ↵Ned Batchelder2016-01-061-54/+66
| | | | the dispatch instead of calling another method.
* Clean up some TODO's and code pathsNed Batchelder2016-01-061-14/+10
|
* Add some tests for uncovered casesNed Batchelder2016-01-061-7/+10
|
* Support while-elseNed Batchelder2016-01-051-5/+7
|
* Support comprehensions betterNed Batchelder2016-01-041-12/+3
|
* Clean up some lintNed Batchelder2016-01-031-27/+29
|
* Fix arcs for function and class decoratorsNed Batchelder2016-01-031-10/+33
|
* Merge in the default branchNed Batchelder2016-01-021-1/+4
|\