<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/test/test_exceptions.py, 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/Lib/test/test_exceptions.py?h=v2.5c2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/test/test_exceptions.py?h=v2.5c2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-09-09T07:18:44Z</updated>
<entry>
<title>Remove __unicode__ method so that ``unicode(BaseException)`` succeeds.</title>
<updated>2006-09-09T07:18:44Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-09-09T07:18:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19d76c5aa88d8f673bc91529d25806d2e333aa84'/>
<id>urn:sha1:19d76c5aa88d8f673bc91529d25806d2e333aa84</id>
<content type='text'>
Fixes bug #1551432.
</content>
</entry>
<entry>
<title>Bug #1542051: Exceptions now correctly call PyObject_GC_UnTrack.</title>
<updated>2006-09-06T06:47:02Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-09-06T06:47:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ecab623e1315cd0cfbe01e046e618001fe315490'/>
<id>urn:sha1:ecab623e1315cd0cfbe01e046e618001fe315490</id>
<content type='text'>
Also make sure that every exception class has __module__ set to
'exceptions'.
 (backport)
</content>
</entry>
<entry>
<title>Fix for an obscure bug introduced by revs 46806 and 46808, with a test.</title>
<updated>2006-06-21T21:58:50Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-06-21T21:58:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=53c1692f6ac592a8c0d5a6f83017019b52625969'/>
<id>urn:sha1:53c1692f6ac592a8c0d5a6f83017019b52625969</id>
<content type='text'>
The problem of checking too eagerly for recursive calls is the
following: if a RuntimeError is caused by recursion, and if code needs
to normalize it immediately (as in the 2nd test), then
PyErr_NormalizeException() needs a call to the RuntimeError class to
instantiate it, and this hits the recursion limit again...  causing
PyErr_NormalizeException() to never finish.

Moved this particular recursion check to slot_tp_call(), which is not
involved in instantiating built-in exceptions.

Backport candidate.
</content>
</entry>
<entry>
<title>SF patch 1501987:  Remove randomness from test_exceptions,</title>
<updated>2006-06-07T06:57:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-06-07T06:57:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=80dc76e9072c4adaedf5c52032699b859c82eca2'/>
<id>urn:sha1:80dc76e9072c4adaedf5c52032699b859c82eca2</id>
<content type='text'>
from ?iga Seilnacht (sorry about the name, but Firefox
on my box can't display the first character of the name --
the SF "Unix name" is zseil).

This appears to cure the oddball intermittent leaks across
runs when running test_exceptions under -R.  I'm not sure
why, but I'm too sleepy to care ;-)

The thrust of the SF patch was to remove randomness in the
pickle protocol used.  I changed the patch to use
range(pickle.HIGHEST_PROTOCOL + 1), to try both pickle and
cPickle, and randomly mucked with other test lines to put
statements on their own lines.

Not a bugfix candidate (this is fiddling new-in-2.5 code).
</content>
</entry>
<entry>
<title>Fix memory leak found by valgrind.</title>
<updated>2006-06-02T04:50:49Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-02T04:50:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38d4d4a35b9f5ba10d0343d458dd97a2a2432dae'/>
<id>urn:sha1:38d4d4a35b9f5ba10d0343d458dd97a2a2432dae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert docstrings to comments so regrtest -v prints method names</title>
<updated>2006-06-02T04:45:53Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-06-02T04:45:53Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e152aab977c8cffff8879f1ad3029792185ae884'/>
<id>urn:sha1:e152aab977c8cffff8879f1ad3029792185ae884</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Some code style tweaks, and remove apply.</title>
<updated>2006-06-01T13:00:49Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-06-01T13:00:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e08940ef6c93e89c5a9163e8e433cb53a894dd56'/>
<id>urn:sha1:e08940ef6c93e89c5a9163e8e433cb53a894dd56</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Whitespace normalization.</title>
<updated>2006-05-30T23:28:02Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-05-30T23:28:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dd55b0a32c8124edea8f4d65e14d8e5a907b0f3b'/>
<id>urn:sha1:dd55b0a32c8124edea8f4d65e14d8e5a907b0f3b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Convert test_exceptions to unittest.</title>
<updated>2006-05-30T08:47:19Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-05-30T08:47:19Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cdcede62c028beab6617affbf717a83c80910269'/>
<id>urn:sha1:cdcede62c028beab6617affbf717a83c80910269</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do the check for no keyword arguments in __init__ so that</title>
<updated>2006-05-30T08:17:00Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-05-30T08:17:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b0432bc032b6f9858e96457276c0f37352103e30'/>
<id>urn:sha1:b0432bc032b6f9858e96457276c0f37352103e30</id>
<content type='text'>
subclasses of Exception can be supplied keyword args
</content>
</entry>
</feed>
