summaryrefslogtreecommitdiffstats
path: root/Lib/pstats.py
Commit message (Collapse)AuthorAgeFilesLines
* Replace boolean test with is None.Raymond Hettinger2002-06-011-1/+1
|
* SF 563203. Replaced 'has_key()' with 'in'.Raymond Hettinger2002-06-011-7/+7
|
* Put the deprecated .ignore() method back where it was.Tim Peters2001-10-081-4/+4
|
* Widespread random code cleanup.Tim Peters2001-10-081-87/+54
| | | | | | | | | | | | | | | | | | | | | | | | Most of this code was old enough to vote. Examples of cleanups: + Backslashes were used for line continuation even inside unclosed bracket structures, from back in the days that was still needed. + There was no use of % formats, and e.g. the old fpformat module was still used to format floats "by hand" in conjunction with rjust(). + There was even use of a do-nothing .ignore() method to tack on to the end of a chain of method calls, else way back when Python would print the non-None result (as it does now in an interactive session -- it *used* to do that in batch mode too). + Perhaps controversial (although I can't imagine why for real <wink>), used augmented assignment where helpful. Stuff like self.total_calls = self.total_calls + other.total_calls is just plain harder to follow than self.total_calls += other.total_calls
* Remove unused variable (PyChecker)Andrew M. Kuchling2001-08-131-1/+0
|
* Patch #445538: add completion for pstats.py sort cmd.Martin v. Löwis2001-07-301-0/+2
|
* Patch #416224: add readline completion to cmd.Cmd.Martin v. Löwis2001-07-281-0/+1
|
* Patch #416220: Fix misplaced paren.Martin v. Löwis2001-06-071-1/+1
|
* When guarding an import, only catch ImportError.Fred Drake2001-05-111-1/+1
|
* Added more help, and recovery from misspelled sort key arguments.Eric S. Raymond2001-04-261-2/+19
|
* Should resolve [ #416039 ] pstats browser crashes.Eric S. Raymond2001-04-141-3/+3
|
* Import readline when possible to make the commaninterpreter UI nicer.Eric S. Raymond2001-04-141-0/+4
|
* Whitespace normalization.Tim Peters2001-04-131-1/+0
|
* Added a test main to the pstats library that can help you browse profile dumps.Eric S. Raymond2001-04-131-0/+126
|
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+2
|
* String method conversion.Eric S. Raymond2001-02-091-10/+9
|
* Whitespace normalization.Tim Peters2001-01-151-454/+453
|
* Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in eitherThomas Wouters2000-07-161-6/+6
| | | | | | | | | | comments, docstrings or error messages. I fixed two minor things in test_winreg.py ("didn't" -> "Didn't" and "Didnt" -> "Didn't"). There is a minor style issue involved: Guido seems to have preferred English grammar (behaviour, honour) in a couple places. This patch changes that to American, which is the more prominent style in the source. I prefer English myself, so if English is preferred, I'd be happy to supply a patch myself ;)
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-51/+45
| | | | | | | | | | | | | | | | | | who writes: Here is batch 2, as a big collection of CVS context diffs. Along with moving comments into docstrings, i've added a couple of missing docstrings and attempted to make sure more module docstrings begin with a one-line summary. I did not add docstrings to the methods in profile.py for fear of upsetting any careful optimizations there, though i did move class documentation into class docstrings. The convention i'm using is to leave credits/version/copyright type of stuff in # comments, and move the rest of the descriptive stuff about module usage into module docstrings. Hope this is okay.
* Fix mysterious references to jprofile that were in the source sinceGuido van Rossum1999-04-131-1/+1
| | | | | its creation. I'm assuming these were once valid references to "Jim Roskind's profile"...
* Give in to Timmy's Tedious Tab Theorem.Guido van Rossum1998-03-231-1/+1
|
* Convert all remaining *simple* cases of regex usage to re usage.Guido van Rossum1997-10-221-2/+2
|
* Open files in binary mode (Jack)Guido van Rossum1997-10-081-1/+1
|
* more robust coding, adapted for macGuido van Rossum1995-09-301-7/+4
|
* Companion module for new profile.pyGuido van Rossum1994-06-231-0/+535