summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
* WIP: tests for unusual while loopsnedbat/while-edge-testsNed Batchelder2018-11-201-2/+0
|
* Python 3.8 will optimize away "while True:"Ned Batchelder2018-11-111-0/+21
|
* Debug-time environment variables can be set with set_env.pyNed Batchelder2018-11-031-0/+2
|
* Adapt to 3.8's way of tracing decorated functionsNed Batchelder2018-11-031-7/+24
|
* Finally jumps back to exiting linesNed Batchelder2018-10-061-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 ASTNed Batchelder2018-10-041-1/+1
|
* Python 3.6 changed lnotab to signed bytesNed Batchelder2018-10-041-0/+2
|
* Update NOTICE link to GitHub.Ned Batchelder2018-06-241-1/+1
|
* Properly handle empty decorated functions in 3.7. #640Ned Batchelder2018-02-091-6/+7
|
* Update to pylint 1.7.1Ned Batchelder2017-04-221-1/+0
|
* One more tweak to StopEverythingNed Batchelder2017-01-211-2/+2
|
* More-precise no-coverage pragmasNed Batchelder2017-01-191-1/+1
|
* A few more lines coveredNed Batchelder2017-01-171-1/+1
|
* Properly handle if-statements optimized away. #522Ned Batchelder2017-01-161-9/+95
|
* Slight AST_DUMP improvementsNed Batchelder2017-01-161-3/+3
|
* Reporting doesn't work on Jython, so don't run reporting tests there.Ned Batchelder2017-01-141-4/+4
| | | | | --HG-- extra : amend_source : 144fd0ffb49fdef1139ae3f0085831ece14de43f
* 2.6 and 2.7 are not different wrt constants in while loopsNed Batchelder2016-12-241-2/+1
|
* Move the test program into the testNed Batchelder2016-12-241-1/+1
|
* also use AST for while constants in python-2.7 #502loic@dachary.org2016-12-151-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 Batchelder2016-12-181-1/+1
|
* More parser code clean-upNed Batchelder2016-12-181-14/+25
|
* Clean up #493 fixNed Batchelder2016-12-181-0/+2
|
* Merged in dachary/coverage.py/issue-493-2 (pull request #108)Ned Batchelder2016-12-181-5/+7
|\ | | | | | | finally happens before return in a try #493
| * finally happens before return in a try #493loic@dachary.org2016-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 --HG-- branch : issue-493-2
* | More ast parsing clean-up.Ned Batchelder2016-12-181-8/+19
| |
* | More doc and cleanup of ast parsingNed Batchelder2016-12-181-6/+29
| |
* | Add some to the ArcStart docstring, and remove defaultable argumentsNed Batchelder2016-12-181-5/+9
|/
* 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
|