<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Demo/classes, branch v2.5c2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Demo/classes?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Demo/classes?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-06-06T12:46:55Z</updated>
<entry>
<title>Normalized a few cases of whitespace in function declarations.</title>
<updated>2006-06-06T12:46:55Z</updated>
<author>
<name>Martin Blais</name>
<email>blais@furius.ca</email>
</author>
<published>2006-06-06T12:46:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=215f13dd118f67fb8c3d3663dbbe11ed33691c4f'/>
<id>urn:sha1:215f13dd118f67fb8c3d3663dbbe11ed33691c4f</id>
<content type='text'>
Found them using::

  find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
  find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done

(I was doing this all over my own code anyway, because I'd been using spaces in
all defs, so I thought I'd make a run on the Python code as well.  If you need
to do such fixes in your own code, you can use xx-rename or parenregu.el within
emacs.)
</content>
</entry>
<entry>
<title>* Fix error in definition of Im() which returned self instead of 0</title>
<updated>2005-04-09T14:55:07Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2005-04-09T14:55:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bdaad8c93978b22fca49cb4eeea8cdea3610bafd'/>
<id>urn:sha1:bdaad8c93978b22fca49cb4eeea8cdea3610bafd</id>
<content type='text'>
  for non-complex arguments.

* Replace type() comparisons with isinstance() checks.

* Replace apply() calls with equivalent syntactic form.

* Simplify __hash__ definition to hash the underlying tuple.

* Use math.hypot() for more robust computation of __abs__().

* Use sorted() instead of the multi-step keys/sort/iter.

* Update comment on the cmath module.
</content>
</entry>
<entry>
<title>Patch #1177597: Correct various bugs, add comments.</title>
<updated>2005-04-09T10:51:19Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2005-04-09T10:51:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4a1e48c566524e5c5d3f1fbac427f0734c874e9c'/>
<id>urn:sha1:4a1e48c566524e5c5d3f1fbac427f0734c874e9c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add code for a range function that uses generators.</title>
<updated>2004-06-27T23:17:35Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-06-27T23:17:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c2b151c66ee9bc6e686400ee93e65e07d1999888'/>
<id>urn:sha1:c2b151c66ee9bc6e686400ee93e65e07d1999888</id>
<content type='text'>
Cleaned up existing code by abstracting code to parse arguments.  Also removed
any unneeded operations (such as calling 'int' on a division when using floor
division also works).  Fixed a bug where the values  returned by
OldStyleRange could be short by one value.  Added more documentation.

Testing code also has a basic sanity check.
</content>
</entry>
<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>SF patch #803449:  modernize demo scripts</title>
<updated>2003-09-10T21:12:59Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-09-10T21:12:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe63faaeebe89a95df6e0bb5cb169612c4966189'/>
<id>urn:sha1:fe63faaeebe89a95df6e0bb5cb169612c4966189</id>
<content type='text'>
(Contributed by George Yoshida.)
</content>
</entry>
<entry>
<title>Patch #748846: Let Demo/classes/Date.py mention DateTime module.</title>
<updated>2003-06-07T19:39:56Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2003-06-07T19:39:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7890c26508c3ddf8548b97cf5b1e85814f83cfb0'/>
<id>urn:sha1:7890c26508c3ddf8548b97cf5b1e85814f83cfb0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Run these demo scripts through reindent.py to give them 4-space indents.  I've verified that their output is unchanged.</title>
<updated>2003-04-24T17:13:18Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-04-24T17:13:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=946c53ed7ff53f38792ac35e5da21de3e0a48ef2'/>
<id>urn:sha1:946c53ed7ff53f38792ac35e5da21de3e0a48ef2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Modernize code by using isinstance() instead of type() checks</title>
<updated>2003-04-24T17:04:45Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-04-24T17:04:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f237b6870bc856e2af5f23e524a9d32cd42e027'/>
<id>urn:sha1:4f237b6870bc856e2af5f23e524a9d32cd42e027</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Avoid TypeError by not comparing complex numbers</title>
<updated>2003-04-24T16:59:45Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2003-04-24T16:59:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=64b3c830d44aaeac8de85067113b03bc62a92957'/>
<id>urn:sha1:64b3c830d44aaeac8de85067113b03bc62a92957</id>
<content type='text'>
</content>
</entry>
</feed>
