<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/pstats.py, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pstats.py?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/pstats.py?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-02-12T17:35:32Z</updated>
<entry>
<title>Replace backticks with repr() or "%r"</title>
<updated>2004-02-12T17:35:32Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2004-02-12T17:35:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=70a6b49821a3226f55e9716f32d802d06640cb89'/>
<id>urn:sha1:70a6b49821a3226f55e9716f32d802d06640cb89</id>
<content type='text'>
From SF patch #852334.
</content>
</entry>
<entry>
<title>- add a dump_stats() method similar to that of the profile.Profile class</title>
<updated>2003-05-14T14:28:09Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2003-05-14T14:28:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9c43910a278ca2a44a6e2d31d53270b05cd7dc5e'/>
<id>urn:sha1:9c43910a278ca2a44a6e2d31d53270b05cd7dc5e</id>
<content type='text'>
- don't use "file" as the name of local variables
</content>
</entry>
<entry>
<title>Get rid of many apply() calls.</title>
<updated>2003-02-27T20:14:51Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-27T20:14:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=68468eba635570400f607e140425a222018e56f9'/>
<id>urn:sha1:68468eba635570400f607e140425a222018e56f9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced .keys() with dictionary iterators</title>
<updated>2002-06-02T18:55:56Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-02T18:55:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0d4972acc8cfd4b8fb16c074a8031e50fab0f29'/>
<id>urn:sha1:e0d4972acc8cfd4b8fb16c074a8031e50fab0f29</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replaced obsolete stat module constants with equivalent attributes</title>
<updated>2002-06-01T19:51:15Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-01T19:51:15Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32200aeac697fcb3f2b4528127a2fbf0a22a8f17'/>
<id>urn:sha1:32200aeac697fcb3f2b4528127a2fbf0a22a8f17</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace boolean test with is None.</title>
<updated>2002-06-01T16:07:16Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-01T16:07:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1'/>
<id>urn:sha1:16e3c427f35589ac3b83e8c13a8ec6495ec6cfa1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF 563203. Replaced 'has_key()' with 'in'.</title>
<updated>2002-06-01T14:18:47Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2002-06-01T14:18:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=54f0222547b1e92cd018ef132307a6f793dc9505'/>
<id>urn:sha1:54f0222547b1e92cd018ef132307a6f793dc9505</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Put the deprecated .ignore() method back where it was.</title>
<updated>2001-10-08T06:28:18Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-08T06:28:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=281084f7989a34d662a1a49746bc00ddd4029372'/>
<id>urn:sha1:281084f7989a34d662a1a49746bc00ddd4029372</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Widespread random code cleanup.</title>
<updated>2001-10-08T06:13:19Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2001-10-08T06:13:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d01685738078d4fb89565523145d33eca98d1ec'/>
<id>urn:sha1:7d01685738078d4fb89565523145d33eca98d1ec</id>
<content type='text'>
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 &lt;wink&gt;),
  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
</content>
</entry>
<entry>
<title>Remove unused variable (PyChecker)</title>
<updated>2001-08-13T14:52:37Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2001-08-13T14:52:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=77f9caf633d8be5d83c2d33d6a36fef80f64bb99'/>
<id>urn:sha1:77f9caf633d8be5d83c2d33d6a36fef80f64bb99</id>
<content type='text'>
</content>
</entry>
</feed>
