Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | SF #1062190. Removed an assertion that rendered trace.py unnecessarily | Raymond Hettinger | 2004-11-08 | 1 | -1/+0 |
| | | | | inflexibile. | ||||
* | Open file in universal newline mode when passing to compile(). Solution | Skip Montanaro | 2004-04-16 | 1 | -1/+1 |
| | | | | from Felix Wiemann. Closes patch #934971. | ||||
* | Refactor common code out of globaltrace_trackcallers() and | Skip Montanaro | 2004-04-10 | 1 | -28/+56 |
| | | | | | | | | globaltrace_countfuncs() into file_module_function_of(). In that function use Michael Hudson's suggestion of gc.get_referrers() to back up from the code object to a function, then to a class's dict and finally to a class object if one exists. | ||||
* | Added --trackcalls command line arg to display crude caller/callee | Skip Montanaro | 2004-04-07 | 1 | -18/+88 |
| | | | | | relationships at program exit. Output is a bit prettier than that for --listfuncs but won't parse as easily using downstream postprocessing tools. | ||||
* | Fix two small bugs: (1) on Windows, pathname munging didn't work | Guido van Rossum | 2004-02-19 | 1 | -2/+4 |
| | | | | | right; (2) write_results_file() didn't return a tuple of two ints when it couldn't create the file. Will backport. | ||||
* | Replace backticks with repr() or "%r" | Walter Dörwald | 2004-02-12 | 1 | -1/+1 |
| | | | | From SF patch #852334. | ||||
* | SF patch #834015: Remove imports of unused modules | Raymond Hettinger | 2003-11-02 | 1 | -1/+0 |
| | | | | (Contributed by George Yoshida.) | ||||
* | Open results files, which contain binary pickles, in binary mode. | Jeremy Hylton | 2003-10-14 | 1 | -4/+2 |
| | | | | | Remove fallback code that tries to read marshal data from a results file, since this module never writes marshal data. | ||||
* | Ouch. Remove debug code containing obscenities. :-) | Guido van Rossum | 2003-10-10 | 1 | -3/+0 |
| | |||||
* | The fullmodname() function chopped off the first character if the | Guido van Rossum | 2003-10-10 | 1 | -1/+8 |
| | | | | | module existed in the current directory. Fix this. Backport candidate (I presume). | ||||
* | Make the prefix 7 spaces long, so the lines are properly aligned. | Walter Dörwald | 2003-07-15 | 1 | -1/+1 |
| | |||||
* | Patch from Zooko to remove an experimental feature. | Jeremy Hylton | 2003-07-07 | 1 | -9/+4 |
| | |||||
* | fix typo | Fred Drake | 2003-06-27 | 1 | -1/+1 |
| | |||||
* | add mention of -l, --listfuncs to usage() small part of 542562 | Skip Montanaro | 2003-06-27 | 1 | -0/+3 |
| | |||||
* | Enable tracing of multi-threaded applications. | Jeremy Hylton | 2003-06-26 | 1 | -1/+6 |
| | | | | | Fix bug in computation of coverage percentage: Only count a line if it was executed or if we print the >>>>>> marker. | ||||
* | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -2/+2 |
| | |||||
* | Only produce a dotted module name when writing output to a separate | Jeremy Hylton | 2003-04-22 | 1 | -2/+3 |
| | | | | directory. | ||||
* | Add helper function to get module name taking packages into account. | Jeremy Hylton | 2003-04-21 | 1 | -1/+22 |
| | |||||
* | Holistic refactoring. | Jeremy Hylton | 2003-04-21 | 1 | -225/+159 |
| | | | | | | | | | | | | | | | | | Remove "." in coverage output for lines with comments. Silence complaints in coverage output about unexecuted docstrings. Eliminate use of inspect module in favor of direct access to frame and code objects. We're in a trace function here: Efficiency counts! Remove unused code. Reflow long lines. Remove backwards compatibility for stored trace output from Zooko's experiment to add calledfuncs to the pickled dict. Move code to generate per-file coverage stats to a separate routine. Replace use of parser module with call to compile. | ||||
* | Get rid of many apply() calls. | Guido van Rossum | 2003-02-27 | 1 | -1/+1 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -14/+14 |
| | |||||
* | Copy the trace module here from Tools/scripts. | Jeremy Hylton | 2003-02-18 | 1 | -0/+729 |
There are some problems with this module, but the tool works for simple tasks and no one else has volunteered a better code coverage tool. Should cleanup and document before the beta release. |