summaryrefslogtreecommitdiffstats
path: root/Lib/hotshot/log.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix most trivially-findable print statements.Guido van Rossum2007-02-091-1/+1
| | | | | | | | | There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
* Only three failing tests left: dbm, gdbm, tcl!Guido van Rossum2006-08-191-1/+1
|
* Add clarifying comment.Guido van Rossum2002-07-181-0/+1
|
* Simplify; the low-level log reader is now always a modern iterator,Fred Drake2002-07-181-6/+1
| | | | | and should never return None. (It only did this for an old version of HotShot that was trying to still work with a patched Python 2.1.)
* Expose the fileno() method of the underlying log reader.Fred Drake2002-07-181-6/+4
| | | | | Remove the crufty support for Python's that don't have StopIteration; the HotShot patch for Python 2.1 has not been maintained.
* Gave hotshot.LogReader a close() method, to allow users to close theTim Peters2002-07-181-0/+3
| | | | | file object that LogReader opens. Used it then in test_hotshot; the test passes again on Windows. Thank Guido for the analysis.
* We're no longer trying to support older Python versions with thisGuido van Rossum2002-07-181-7/+2
| | | | codebase, so get rid of the pre-2.2 contingency.
* Minor cleanup:Fred Drake2002-05-291-5/+11
| | | | | | - Add comment explaining the structure of the stack. - Minor optimization: make stack tuple directly usable as part of return value for enter/exit events.
* Set/update self.cwd properly.Fred Drake2002-03-121-14/+51
|
* Update to reflect changes to the low-level logreader: share the infoFred Drake2001-10-291-10/+19
| | | | | | dictionary instead of building a new one, and provide an overridable method to allow subclasses to catch ADD_INFO records that are not part of the initial block of ADD_INFO records created by the profiler itself.
* Avoid deep recursion when reading the header of the log file.Fred Drake2001-10-151-28/+39
| | | | | Add support for extracting function names from the log file, keeping the extract-names-from-sources support as a fallback.
* When we reach the end of the log file, close the logreader object.Fred Drake2001-10-131-1/+3
|
* Preliminary user-level interface to HotShot. We still need the analysisFred Drake2001-10-121-0/+135
tool; look for that on Monday.