summaryrefslogtreecommitdiffstats
path: root/Lib/trace.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix two small bugs: (1) on Windows, pathname munging didn't workGuido van Rossum2004-02-191-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örwald2004-02-121-1/+1
| | | | From SF patch #852334.
* SF patch #834015: Remove imports of unused modulesRaymond Hettinger2003-11-021-1/+0
| | | | (Contributed by George Yoshida.)
* Open results files, which contain binary pickles, in binary mode.Jeremy Hylton2003-10-141-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 Rossum2003-10-101-3/+0
|
* The fullmodname() function chopped off the first character if theGuido van Rossum2003-10-101-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örwald2003-07-151-1/+1
|
* Patch from Zooko to remove an experimental feature.Jeremy Hylton2003-07-071-9/+4
|
* fix typoFred Drake2003-06-271-1/+1
|
* add mention of -l, --listfuncs to usage() small part of 542562Skip Montanaro2003-06-271-0/+3
|
* Enable tracing of multi-threaded applications.Jeremy Hylton2003-06-261-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 Peters2003-04-241-2/+2
|
* Only produce a dotted module name when writing output to a separateJeremy Hylton2003-04-221-2/+3
| | | | directory.
* Add helper function to get module name taking packages into account.Jeremy Hylton2003-04-211-1/+22
|
* Holistic refactoring.Jeremy Hylton2003-04-211-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 Rossum2003-02-271-1/+1
|
* Whitespace normalization.Tim Peters2003-02-191-14/+14
|
* Copy the trace module here from Tools/scripts.Jeremy Hylton2003-02-181-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.