Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replaced .keys() with dictionary iterators | Raymond Hettinger | 2002-06-02 | 1 | -28/+25 |
| | |||||
* | Replaced obsolete stat module constants with equivalent attributes | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | Replace boolean test with is None. | Raymond Hettinger | 2002-06-01 | 1 | -1/+1 |
| | |||||
* | SF 563203. Replaced 'has_key()' with 'in'. | Raymond Hettinger | 2002-06-01 | 1 | -7/+7 |
| | |||||
* | Put the deprecated .ignore() method back where it was. | Tim Peters | 2001-10-08 | 1 | -4/+4 |
| | |||||
* | Widespread random code cleanup. | Tim Peters | 2001-10-08 | 1 | -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. Kuchling | 2001-08-13 | 1 | -1/+0 |
| | |||||
* | Patch #445538: add completion for pstats.py sort cmd. | Martin v. Löwis | 2001-07-30 | 1 | -0/+2 |
| | |||||
* | Patch #416224: add readline completion to cmd.Cmd. | Martin v. Löwis | 2001-07-28 | 1 | -0/+1 |
| | |||||
* | Patch #416220: Fix misplaced paren. | Martin v. Löwis | 2001-06-07 | 1 | -1/+1 |
| | |||||
* | When guarding an import, only catch ImportError. | Fred Drake | 2001-05-11 | 1 | -1/+1 |
| | |||||
* | Added more help, and recovery from misspelled sort key arguments. | Eric S. Raymond | 2001-04-26 | 1 | -2/+19 |
| | |||||
* | Should resolve [ #416039 ] pstats browser crashes. | Eric S. Raymond | 2001-04-14 | 1 | -3/+3 |
| | |||||
* | Import readline when possible to make the commaninterpreter UI nicer. | Eric S. Raymond | 2001-04-14 | 1 | -0/+4 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-04-13 | 1 | -1/+0 |
| | |||||
* | Added a test main to the pstats library that can help you browse profile dumps. | Eric S. Raymond | 2001-04-13 | 1 | -0/+126 |
| | |||||
* | __all__ for several more modules | Skip Montanaro | 2001-02-12 | 1 | -0/+2 |
| | |||||
* | String method conversion. | Eric S. Raymond | 2001-02-09 | 1 | -10/+9 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2001-01-15 | 1 | -454/+453 |
| | |||||
* | Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either | Thomas Wouters | 2000-07-16 | 1 | -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 Rossum | 2000-02-04 | 1 | -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 since | Guido van Rossum | 1999-04-13 | 1 | -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 Rossum | 1998-03-23 | 1 | -1/+1 |
| | |||||
* | Convert all remaining *simple* cases of regex usage to re usage. | Guido van Rossum | 1997-10-22 | 1 | -2/+2 |
| | |||||
* | Open files in binary mode (Jack) | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | more robust coding, adapted for mac | Guido van Rossum | 1995-09-30 | 1 | -7/+4 |
| | |||||
* | Companion module for new profile.py | Guido van Rossum | 1994-06-23 | 1 | -0/+535 |