<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Demo/classes, branch v2.7a4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Demo/classes?h=v2.7a4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Demo/classes?h=v2.7a4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-09-13T01:57:25Z</updated>
<entry>
<title>Update uses of string exceptions</title>
<updated>2008-09-13T01:57:25Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2008-09-13T01:57:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d9a9c1066c64900a902f5a70b132880e29749ecc'/>
<id>urn:sha1:d9a9c1066c64900a902f5a70b132880e29749ecc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Subclass exception</title>
<updated>2008-09-13T01:48:36Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2008-09-13T01:48:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c997f178ed2fe9a636c71be9e62d6b4f46901e1b'/>
<id>urn:sha1:c997f178ed2fe9a636c71be9e62d6b4f46901e1b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#687648 from Robert Schuppenies: use classic division.  From me: don't use string exception; add __main__ section</title>
<updated>2008-09-13T01:34:41Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2008-09-13T01:34:41Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8bd9a2f7dbfacec690431f5223670a2c85b2ac5f'/>
<id>urn:sha1:8bd9a2f7dbfacec690431f5223670a2c85b2ac5f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>#2503 make singletons compared with "is" not == or !=</title>
<updated>2008-03-29T15:24:25Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2008-03-29T15:24:25Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5b63acd31e0e40c1a9a9e9762905b0054ff37994'/>
<id>urn:sha1:5b63acd31e0e40c1a9a9e9762905b0054ff37994</id>
<content type='text'>
Thanks to Wummel for the patch
</content>
</entry>
<entry>
<title>Remove reference to Rational</title>
<updated>2008-02-10T19:23:36Z</updated>
<author>
<name>Mark Dickinson</name>
<email>dickinsm@gmail.com</email>
</author>
<published>2008-02-10T19:23:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=900b7835268b1ca0ce0034f76a269a0d8eda570b'/>
<id>urn:sha1:900b7835268b1ca0ce0034f76a269a0d8eda570b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add rational.Rational as an implementation of numbers.Rational with infinite</title>
<updated>2008-01-15T07:46:24Z</updated>
<author>
<name>Jeffrey Yasskin</name>
<email>jyasskin@gmail.com</email>
</author>
<published>2008-01-15T07:46:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d7b00334f3cbf7a802e875238b9f2bd95e190436'/>
<id>urn:sha1:d7b00334f3cbf7a802e875238b9f2bd95e190436</id>
<content type='text'>
precision. This has been discussed at http://bugs.python.org/issue1682. It's
useful primarily for teaching, but it also demonstrates how to implement a
member of the numeric tower, including fallbacks for mixed-mode arithmetic.

I expect to write a couple more patches in this area:
 * Rational.from_decimal()
 * Rational.trim/approximate() (maybe with different names)
 * Maybe remove the parentheses from Rational.__str__()
 * Maybe rename one of the Rational classes
 * Maybe make Rational('3/2') work.
</content>
</entry>
<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>
</feed>
