<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/errors.c, branch v1.5</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/errors.c?h=v1.5</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/errors.c?h=v1.5'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>1997-12-09T14:11:39Z</updated>
<entry>
<title>Fix subtle bug in cleanup code in PyErr_NormalizeException(), detected</title>
<updated>1997-12-09T14:11:39Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-12-09T14:11:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=19b55f2d17d2a189f9b48844c06d501f25ca6dc5'/>
<id>urn:sha1:19b55f2d17d2a189f9b48844c06d501f25ca6dc5</id>
<content type='text'>
by Marc Lemburg.  There's a path through the code where *val is NULL,
but value isn't, and value should be DECREF'ed.
</content>
</entry>
<entry>
<title>New version of PyErr_NewException() that is compatible with -X option.</title>
<updated>1997-10-03T19:50:55Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-10-03T19:50:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2ac650f3859738c58fc9ac8cbf3dc8b574f37ea8'/>
<id>urn:sha1:2ac650f3859738c58fc9ac8cbf3dc8b574f37ea8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PyErr_NormalizeException(): If the exception's type is a class and the</title>
<updated>1997-09-30T15:00:18Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-09-30T15:00:18Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3a749931181b747220904e11535c0fe91594c228'/>
<id>urn:sha1:3a749931181b747220904e11535c0fe91594c228</id>
<content type='text'>
instance's class is a subclass of this, then use the instance's class
as the exception type.
</content>
</entry>
<entry>
<title>New API PyErr_NewException(name, base, dict) to create simple new exceptions.</title>
<updated>1997-09-16T18:43:50Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-16T18:43:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7617e05a9befb3fdf1c4727f6fa0a79ff783b186'/>
<id>urn:sha1:7617e05a9befb3fdf1c4727f6fa0a79ff783b186</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PyErr_NoMemory(): If the pre-instantiated memory exception is non-null</title>
<updated>1997-08-29T21:54:35Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-08-29T21:54:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2d8adff10a92fb979795e339395711f782fe71f8'/>
<id>urn:sha1:2d8adff10a92fb979795e339395711f782fe71f8</id>
<content type='text'>
(PyExc_MemoryErrorInst) raise this instead of PyExc_MemoryError.  This
only happens when exception classes are enabled (e.g. when Python is
started with -X).
</content>
</entry>
<entry>
<title>Three new C API functions:</title>
<updated>1997-08-22T21:22:58Z</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1997-08-22T21:22:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c0dc92af7d41ecf1d60f4ab29452d7179c039d8c'/>
<id>urn:sha1:c0dc92af7d41ecf1d60f4ab29452d7179c039d8c</id>
<content type='text'>
- int PyErr_GivenExceptionMatches(obj1, obj2)

  Returns 1 if obj1 and obj2 are the same object, or if obj1 is an
  instance of type obj2, or of a class derived from obj2

- int PyErr_ExceptionMatches(obj)

  Higher level wrapper around PyErr_GivenExceptionMatches() which uses
  PyErr_Occurred() as obj1.  This will be the more commonly called
  function.

- void PyErr_NormalizeException(typeptr, valptr, tbptr)

  Normalizes exceptions, and places the normalized values in the
  arguments.  If type is not a class, this does nothing.  If type is a
  class, then it makes sure that value is an instance of the class by:

  1. if instance is of the type, or a class derived from type, it does
     nothing.

  2. otherwise it instantiates the class, using the value as an
     argument.  If value is None, it uses an empty arg tuple, and if
     the value is a tuple, it uses just that.
</content>
</entry>
<entry>
<title>Use strerror on the mac if using MSL (Jack).</title>
<updated>1997-08-12T14:51:52Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-08-12T14:51:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5b40268817b517b2759ffb71d79e8979ad9bae2'/>
<id>urn:sha1:e5b40268817b517b2759ffb71d79e8979ad9bae2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Massive changes for separate thread state management.</title>
<updated>1997-05-05T20:56:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-05-05T20:56:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a027efa5bfa7911b5c4b522b6a0698749a6f2e4a'/>
<id>urn:sha1:a027efa5bfa7911b5c4b522b6a0698749a6f2e4a</id>
<content type='text'>
All per-thread globals are moved into a struct which is manipulated
separately.
</content>
</entry>
<entry>
<title>Quickly renamed.  Also removed the long comment explaining why this is</title>
<updated>1997-04-29T18:22:47Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-04-29T18:22:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=373c869a6ae2883e5f13b4c90587ad70a160bd41'/>
<id>urn:sha1:373c869a6ae2883e5f13b4c90587ad70a160bd41</id>
<content type='text'>
better than the old error API.
</content>
</entry>
<entry>
<title>Keep Microsoft VC happy.</title>
<updated>1997-04-11T20:44:04Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-04-11T20:44:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7844e38a988243b4f3d59feab0908246d37ea34c'/>
<id>urn:sha1:7844e38a988243b4f3d59feab0908246d37ea34c</id>
<content type='text'>
</content>
</entry>
</feed>
