summaryrefslogtreecommitdiff
path: root/coverage/parser.py
Commit message (Collapse)AuthorAgeFilesLines
* Better spelling.Ned Batchelder2015-07-251-1/+1
|
* Add license mention to the top of all files. #313.Ned Batchelder2015-07-241-1/+4
|
* All Python source is Unicode internally.Ned Batchelder2015-05-171-11/+5
| | | | | Unfortunately, this meant hacking around a silly Python 2 restriction (can't compile a Unicode string containing an encoding declaration).
* Fix branch coverage for yield statements. #308 #324Ned Batchelder2015-04-201-12/+25
| | | | | | | | | | | Turns out the "call" and "return" trace events are really "start frame" and "end frame". They happen not only when functions are entered and left, but when generators yield and resume. We aren't interested in arcs into and out of yield statements, so the trace functions look more closely to see what's really happening, and record an arc in human-friendly terms. Thanks for Mickie Betz for pushing on this bug, although her code is no longer here. :(
* Put all chunk/arc logic in one place.Ned Batchelder2015-04-181-9/+7
|
* Including generator yield statements when doing end of code calculations ↵Mickie Betz2015-04-141-1/+1
| | | | issue 324
* Move python source understanding into python.pyNed Batchelder2015-01-011-1/+1
|
* A few more filenames as %s instead of %rNed Batchelder2014-12-281-1/+1
|
* Further consolidation of code reading Python source.Ned Batchelder2014-12-281-7/+7
|
* Unify and clarify reading Python source. Probably broke .pyw filesNed Batchelder2014-12-261-10/+5
|
* Move some code, and fix pep8 thingsNed Batchelder2014-12-141-34/+7
|
* Source is always Unicode in HTML code. More refactoring to come.Ned Batchelder2014-12-121-10/+13
|
* Don't be confused by files with missing final newlines. #293Ned Batchelder2014-11-291-6/+8
|
* Try out pylint spelling. Kinda noisy, but fixed some stuff.Ned Batchelder2014-11-271-1/+1
|
* Clean up some pylint messagesNed Batchelder2014-11-231-1/+1
|
* Change all pylint message codes to message namesNed Batchelder2014-11-231-1/+1
|
* Upgraded pylint to 1.4, removed useless suppressionsNed Batchelder2014-11-231-1/+1
|
* A few more metacov clean upsNed Batchelder2014-09-281-2/+2
|
* Hacked-in django template supportNed Batchelder2014-06-121-1/+1
| | | | | --HG-- branch : django
* Continued refactoring of CodeUnitNed Batchelder2014-05-181-1/+1
|
* A bit of refactoring, inching slowly toward nicer CodeUnitsNed Batchelder2014-05-181-15/+21
|
* Refactoring, asymptotically approaching multi-languageNed Batchelder2014-05-041-23/+12
|
* More refactoring of hacked Mako supportNed Batchelder2014-04-181-32/+47
|
* Hacked-in Mako support.Ned Batchelder2014-03-081-1/+4
|
* Merged 4.0 to defaultNed Batchelder2013-12-131-31/+19
|\
| * enumerate has a start parameter!Ned Batchelder2013-10-231-2/+2
| | | | | | | | | | --HG-- branch : 4.0
| * Except clause can now use 'as', no need for lots of sys.exc_infoNed Batchelder2013-10-201-7/+4
| | | | | | | | | | --HG-- branch : 4.0
| * with statements: no more finally closeNed Batchelder2013-10-201-8/+2
| | | | | | | | | | --HG-- branch : 4.0
| * My own decorators can be decoratorsNed Batchelder2013-10-201-2/+2
| | | | | | | | | | --HG-- branch : 4.0
| * Now I can use collections.defaultdictNed Batchelder2013-10-201-4/+2
| | | | | | | | | | --HG-- branch : 4.0
| * Generator expressons are ok now.Ned Batchelder2013-10-191-5/+5
| | | | | | | | | | --HG-- branch : 4.0
| * Now I can use decorators.Ned Batchelder2013-10-191-2/+2
| | | | | | | | | | --HG-- branch : 4.0
| * Get rid of our backward implementation of set, sorted, reversed, and rpartition.Ned Batchelder2013-10-191-2/+1
| | | | | | | | | | --HG-- branch : 4.0
* | ByteCodes.__iter__ is expensive, do it once instead of twice.Ned Batchelder2013-10-271-2/+3
| |
* | Cache generate_tokens to speed HTML reports.Ned Batchelder2013-10-261-1/+29
| |
* | Use sets as much as possible to speed HTML reports. Seems to be a 10% speedup.Ned Batchelder2013-10-231-9/+14
|/
* Pretty soon I'll be able to use generator expressions...Ned Batchelder2013-10-051-1/+1
|
* More abstractions for bytes objects. Cleans up some version checks in the ↵Ned Batchelder2013-09-281-14/+3
| | | | real code.
* Branch coverage improvement, fixes #90. Bug #212 fixed on py2, but not py3.Ned Batchelder2013-06-091-5/+0
|
* Turns out opcode isn't a documented module...Ned Batchelder2013-05-011-4/+4
|
* Add some debugging for branch issues.Ned Batchelder2013-05-011-0/+8
|
* Better understanding of how the trace function is invoked as byte codes are ↵Ned Batchelder2013-01-111-67/+80
| | | | executed. Fixes #175.
* Use the nice way to reverse a list.Ned Batchelder2013-01-091-3/+9
|
* More yieldification of parser.pyNed Batchelder2013-01-081-17/+13
|
* Use generators in the byte code parsing. __next__? yikes!Ned Batchelder2013-01-081-9/+6
|
* Switch to our own prama syntax, so the tests can use the std without getting ↵Ned Batchelder2012-12-011-1/+1
| | | | mixed up.
* Messages with filenames are not good as %r, because it doubles the ↵Ned Batchelder2012-11-231-1/+1
| | | | backslashes...
* Fix IndentationErrors when parsing non-Python files. #82.Ned Batchelder2012-11-211-1/+1
|
* Silence the last of the pylint warnings.Ned Batchelder2012-11-201-2/+2
|
* Finish the paperwork on Julian's patch.Ned Batchelder2012-07-311-1/+0
|