1. 26 Kas, 2006 1 kayıt (commit)
  2. 11 Haz, 2006 1 kayıt (commit)
    • Neal Norwitz's avatar
      Fix errors found by pychecker. · e588c2ba
      Neal Norwitz yazdı
      I think these changes are correct, but I'm not sure.  Could someone
      who knows how this module works test it?  It can at least start on
      the cmd line.
      e588c2ba
  3. 21 Nis, 2006 1 kayıt (commit)
  4. 08 Şub, 2006 1 kayıt (commit)
    • Armin Rigo's avatar
      Added the cProfile module. · a871ef2b
      Armin Rigo yazdı
      Based on lsprof (patch #1212837) by Brett Rosen and Ted Czotter.
      With further editing by Michael Hudson and myself.
      History in svn repo: http://codespeak.net/svn/user/arigo/hack/misc/lsprof
      
      * Module/_lsprof.c is the internal C module, Lib/cProfile.py a wrapper.
      * pstats.py updated to display cProfile's caller/callee timings if available.
      * setup.py and NEWS updated.
      * documentation updates in the profiler section:
         - explain the differences between the three profilers that we have now
         - profile and cProfile can use a unified documentation, like (c)Pickle
         - mention that hotshot is "for specialized usage" now
         - removed references to the "old profiler" that no longer exists
      * test updates:
         - extended test_profile to cover delicate cases like recursion
         - added tests for the caller/callee displays
         - added test_cProfile, performing the same tests for cProfile
      * TO-DO:
         - cProfile gives a nicer name to built-in, particularly built-in methods,
           which could be backported to profile.
         - not tested on Windows recently!
      a871ef2b
  5. 05 Ara, 2004 1 kayıt (commit)
  6. 12 Şub, 2004 1 kayıt (commit)
  7. 14 May, 2003 1 kayıt (commit)
  8. 27 Şub, 2003 1 kayıt (commit)
  9. 02 Haz, 2002 1 kayıt (commit)
  10. 01 Haz, 2002 3 kayıt (commit)
  11. 08 Eki, 2001 2 kayıt (commit)
    • Tim Peters's avatar
      281084f7
    • Tim Peters's avatar
      Widespread random code cleanup. · 7d016857
      Tim Peters yazdı
      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
      7d016857
  12. 13 Agu, 2001 1 kayıt (commit)
  13. 30 Tem, 2001 1 kayıt (commit)
  14. 28 Tem, 2001 1 kayıt (commit)
  15. 07 Haz, 2001 1 kayıt (commit)
  16. 11 May, 2001 1 kayıt (commit)
  17. 26 Nis, 2001 1 kayıt (commit)
  18. 14 Nis, 2001 2 kayıt (commit)
  19. 13 Nis, 2001 2 kayıt (commit)
  20. 12 Şub, 2001 1 kayıt (commit)
  21. 09 Şub, 2001 1 kayıt (commit)
  22. 15 Ock, 2001 1 kayıt (commit)
  23. 16 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Spelling fixes supplied by Rob W. W. Hooft. All these are fixes in either · 7e474022
      Thomas Wouters yazdı
      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 ;)
      7e474022
  24. 04 Şub, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      More trivial comment -> docstring transformations by Ka-Ping Yee, · 54f22ed3
      Guido van Rossum yazdı
      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.
      54f22ed3
  25. 13 Nis, 1999 1 kayıt (commit)
  26. 23 Mar, 1998 1 kayıt (commit)
  27. 22 Eki, 1997 1 kayıt (commit)
  28. 08 Eki, 1997 1 kayıt (commit)
  29. 30 Eyl, 1995 1 kayıt (commit)
  30. 23 Haz, 1994 1 kayıt (commit)