<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Lib/exceptions.py, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/exceptions.py?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Lib/exceptions.py?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-10-06T15:48:20Z</updated>
<entry>
<title>Move the __getitem__() definition from StandardException to Exception.</title>
<updated>1997-10-06T15:48:20Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>1997-10-06T15:48:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=596db3161c8cf0a492f5613cb5721b6c12c1dceb'/>
<id>urn:sha1:596db3161c8cf0a492f5613cb5721b6c12c1dceb</id>
<content type='text'>
This allows stuff like this out of the box:

	try:
	    ...
	except socket.error, (code, msg):
	    ...
</content>
</entry>
<entry>
<title>NumberError =&gt; ArithmeticError</title>
<updated>1997-09-16T21:50:59Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-09-16T21:50:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=25131faffeb61e1678f38bbf188628f2dcca4ebc'/>
<id>urn:sha1:25131faffeb61e1678f38bbf188628f2dcca4ebc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Two subtle changes:</title>
<updated>1997-09-16T18:42:04Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-16T18:42:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c56ba3835056dda7b9ef0d406bda0532b52aab38'/>
<id>urn:sha1:c56ba3835056dda7b9ef0d406bda0532b52aab38</id>
<content type='text'>
(1) Introduce Exception as the conceptual root class for all exceptions.

(2) Do less work in __init__(), and more in __str__ (store args
unchanged).
</content>
</entry>
<entry>
<title>#Adapt the doc string to reality.</title>
<updated>1997-09-08T02:47:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-08T02:47:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e8fd143b7ed5587ec43c26d15542fc297a79c5b1'/>
<id>urn:sha1:e8fd143b7ed5587ec43c26d15542fc297a79c5b1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Made the 'info' argument to SyntaxError optional, so phase-2 syntax</title>
<updated>1997-09-05T19:00:56Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-05T19:00:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f394f56c2bda5a3055b1f08e17882dfa39bbdf34'/>
<id>urn:sha1:f394f56c2bda5a3055b1f08e17882dfa39bbdf34</id>
<content type='text'>
errors are handled (these gave ``TypeError: not enough arguments'').

Also changed its __str__() to correct a typo (missing self.) and
return str(self.msg) to ensure the result is always string.

Also changed the default __str__ to simply return str(self.args).
</content>
</entry>
<entry>
<title>New file, which is imported by the built-in module when python is</title>
<updated>1997-08-29T21:59:26Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-08-29T21:59:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3e613ce79b45be05065804f3f08ec94813dc74f3'/>
<id>urn:sha1:3e613ce79b45be05065804f3f08ec94813dc74f3</id>
<content type='text'>
started with the -X option.  This file contains the definitions for
the built-in exception classes.
</content>
</entry>
</feed>
