summaryrefslogtreecommitdiffstats
path: root/Lib/profile.py
Commit message (Collapse)AuthorAgeFilesLines
* More trivial comment -> docstring transformations by Ka-Ping Yee,Guido van Rossum2000-02-041-58/+52
| | | | | | | | | | | | | | | | | | 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.
* Typo. (Andrew Dalke, without kjpylint)Guido van Rossum1999-05-031-1/+1
|
* No need to import string. (Andrew Dalke & kjpylint)Guido van Rossum1999-05-031-1/+0
|
* After the previous changes, func_normalize() turned out to be redundant.Guido van Rossum1998-09-211-60/+5
| | | | This simplified some other places in the code.
* Changes so that JPython can also use this version of profile.py.Guido van Rossum1998-09-211-25/+4
| | | | Suggested by Jim Hugunin.
* Comment out 't = t[0] + t[1]' in profiler_simulation() -- thisGuido van Rossum1998-09-211-1/+1
| | | | | | function is only used when running the calibration code, and it turns out that recent changes in the timing code caused this statement to raise an exception.
* A few lines were indented using spaces instead of tabs -- fix them.Guido van Rossum1998-03-261-10/+11
|
* Prefer clock() over times() for timer function, except on the Mac,Guido van Rossum1998-03-171-4/+7
| | | | | where we use GetTicks() -- its clock() is a crock, with only 1 second accuracy, I believe.
* Use better timer on the macGuido van Rossum1997-10-081-1/+18
| | | | | Open files in binary mode (Jack)
* /usr/local/bin/python -> /usr/bin/env pythonGuido van Rossum1996-11-271-1/+1
|
* Add main program similar to pdb.Guido van Rossum1996-10-011-0/+19
|
* change return values of simple run* functionsGuido van Rossum1996-05-281-4/+3
|
* more robust coding, adapted for macGuido van Rossum1995-09-301-16/+19
|
* exec() -> execGuido van Rossum1995-08-101-1/+1
|
* functions don't have a __name__ attributeGuido van Rossum1995-06-221-1/+1
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-330/+553
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-6/+4
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* * profile.py, pdb.py: added help() functionGuido van Rossum1993-10-221-0/+12
| | | | | | * builtin.py: b/w compat for builtin -> __builtin__ name change * string.py: added atof() and atol() and corresponding exceptions * test_types.py: added test for list sort with user comparison function
* XEvent.py: Added support for ExposeEvent.Sjoerd Mullender1993-08-251-16/+33
| | | | | profile.py: Some speed improvements (I hope). rect.py: Bug fix in union().
* * ftplib.py: added abort() command (sends oob data).Guido van Rossum1993-05-241-2/+2
| | | | | | * Several modules: change "class C(): ..." to "class C: ...". * flp.py: support for frozen forms. * Added string.find() which is like index but returns -1 if not found
* Added a _v21 def to FL.py and added two new input field typesGuido van Rossum1992-09-021-138/+95
| | | | | | Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py Added new module bisect.py and used it in sched.py. Mostly cosmetic changes to profile.py (changed output format).
* Initial revisionGuido van Rossum1992-04-211-0/+405