Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix(debug): ast_dump failed on a few things | Ned Batchelder | 2021-10-27 | 1 | -2/+5 |
| | |||||
* | test: lightly test the ast_dump function | Ned Batchelder | 2021-10-12 | 1 | -67/+66 |
| | |||||
* | style: prefer explicit string concatenation | Ned Batchelder | 2021-10-10 | 1 | -1/+1 |
| | |||||
* | test: mark some uncovered things | Ned Batchelder | 2021-10-08 | 1 | -2/+6 |
| | |||||
* | fix: missing exceptions through with statements in 3.10 aren't considered ↵ | Ned Batchelder | 2021-08-14 | 1 | -8/+4 |
| | | | | missing branches. #1205 | ||||
* | fix: correct previous refactorings | Ned Batchelder | 2021-07-28 | 1 | -2/+2 |
| | | | | | File names should not be rendered with !r, since on Windows that will produce double backslashes, which only confuses people. | ||||
* | refactor: convert %-strings to f-strings | Ned Batchelder | 2021-07-28 | 1 | -4/+3 |
| | |||||
* | fix: match/case will trace the default case line | Ned Batchelder | 2021-07-27 | 1 | -3/+0 |
| | |||||
* | fix: raise chained errors with "from" #998 | Ned Batchelder | 2021-07-20 | 1 | -5/+3 |
| | | | | | | This makes exceptions report their causes correctly, as "The above exception was the direct cause of the following exception" instead of "During handling of the above exception, another exception occurred." | ||||
* | feat: add support for Python 3.10 match-case statements | Ned Batchelder | 2021-06-06 | 1 | -0/+21 |
| | |||||
* | fix: in Python 3.10, leaving a with block exits through the with statement. | Ned Batchelder | 2021-06-05 | 1 | -9/+74 |
| | | | | This need 3.10.0b3 (not yet released) to fully pass. | ||||
* | refactor: no need for clever byte_parser property | Ned Batchelder | 2021-06-05 | 1 | -10/+3 |
| | | | | | It was only ever used once per object, so just make the ByteParser when we need it. | ||||
* | test: add a test for annotated assignment | Ned Batchelder | 2021-06-05 | 1 | -1/+4 |
| | | | | | | | | | Every statement-level ast node should be tested. Annotated assignment was missing. Also, we don't need "exec" anymore, that was only for Python 2. And: this is the 1000th test! | ||||
* | test: during testing, be strict about handling all ast nodes | Ned Batchelder | 2021-06-04 | 1 | -4/+3 |
| | |||||
* | refactor: better naming for a code object dispatcher | Ned Batchelder | 2021-06-04 | 1 | -14/+16 |
| | |||||
* | refactor: delegate to blocks and avoid isinstance | Ned Batchelder | 2021-06-04 | 1 | -38/+87 |
| | |||||
* | refactor: remove things only needed for Python 2 | Ned Batchelder | 2021-06-04 | 1 | -26/+1 |
| | |||||
* | refactor: move exceptions to their own module | Ned Batchelder | 2021-05-02 | 1 | -1/+1 |
| | |||||
* | refactor: remove a few more version checks | Ned Batchelder | 2021-05-02 | 1 | -2/+1 |
| | |||||
* | refactor: pyupgrade --py36-plus coverage/*.py | Ned Batchelder | 2021-05-02 | 1 | -37/+36 |
| | |||||
* | refactor: remove more unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+2 |
| | | | | | | | | | | | | | | Gone are: - iitems - litems - iternext - to_bytes - to_string - binary_bytes - byte_to_int - bytes_to_ints - BUILTINS | ||||
* | refactor: remove unneeded backward.py shims | Ned Batchelder | 2021-05-01 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | Removed were: - StringIO - configparser - string_class - unicode_class - range - zip_longest - get_thread_id - path_types - shlex_quote - reprlib | ||||
* | refactor: remove code explicitly choosing between py2 and py3 | Ned Batchelder | 2021-05-01 | 1 | -5/+2 |
| | |||||
* | tool: more information about the location of ast nodes when debugging | Ned Batchelder | 2021-03-13 | 1 | -1/+6 |
| | |||||
* | 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 |