<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/object.c, branch 2.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/object.c?h=2.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/object.c?h=2.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2003-02-19T03:21:21Z</updated>
<entry>
<title>Backport of rev 2.199 from trunk.</title>
<updated>2003-02-19T03:21:21Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-02-19T03:21:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2f3fe91ddce75a6f1a461506796e396f2fc225e5'/>
<id>urn:sha1:2f3fe91ddce75a6f1a461506796e396f2fc225e5</id>
<content type='text'>
PyObject_Generic{Get,Set}Attr:

Don't access tp_descr_{get,set} of a descriptor without checking the
flag bits of the descriptor's type.  While we know that the main type
(the type of the object whose attribute is being accessed) has all the
right flag bits (or else PyObject_Generic{Get,Set}Attr wouldn't be
called), we don't know that for its class attributes!
</content>
</entry>
<entry>
<title>Backport:</title>
<updated>2003-01-13T20:17:22Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-01-13T20:17:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fbaaab9d25692c4f8bee0f9f680567ba3f46632b'/>
<id>urn:sha1:fbaaab9d25692c4f8bee0f9f680567ba3f46632b</id>
<content type='text'>
Fix SF bug #667147, Segmentation fault printing str subclass

Fix infinite recursion which occurred when printing an object
whose __str__() returned self.
</content>
</entry>
<entry>
<title>try_3way_compare() was returning -1 in one case where it should return</title>
<updated>2002-12-16T22:32:46Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-12-16T22:32:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0a478a5bb33f9363193ca90b800dec4e3af5d6b3'/>
<id>urn:sha1:0a478a5bb33f9363193ca90b800dec4e3af5d6b3</id>
<content type='text'>
-2 (i.e. an exception was set).  (This was already fixed in 2.3
through a different refactoring.)

Worth the release of Pyton 2.2.3?  Eventually, I guess...
</content>
</entry>
<entry>
<title>Backport Neil Schemenauer's fix for SF #529750,</title>
<updated>2002-11-20T02:38:10Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-11-20T02:38:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=76f485ff956ccba78e94e9d723e32a106b9dcd37'/>
<id>urn:sha1:76f485ff956ccba78e94e9d723e32a106b9dcd37</id>
<content type='text'>
Circular reference makes Py_Init crash

Modified to keep _Py_ResetReferences() API, but make it a no-op.
It's not called now (for 2.3 it was completely removed).
</content>
</entry>
<entry>
<title>Backport 2.193:</title>
<updated>2002-10-11T20:37:58Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-10-11T20:37:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e5be24ca18062267ba675156029e5814f511cf5b'/>
<id>urn:sha1:e5be24ca18062267ba675156029e5814f511cf5b</id>
<content type='text'>
PyObject_Init[Var] is almost always called from the PyObject_NEW[_VAR]
macros.  The 'op' argument is then the result from PyObject_MALLOC,
and that can of course be NULL.  In that case, PyObject_Init[Var]
would raise a SystemError with "NULL object passed to
PyObject_Init[Var]".  But there's nothing the caller of the macro can
do about this.  So PyObject_Init[Var] should call just PyErr_NoMemory.
</content>
</entry>
<entry>
<title>SF bug 578752: COUNT_ALLOCS vs heap types</title>
<updated>2002-07-08T22:30:52Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2002-07-08T22:30:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b1fb9abf09daa365b07c461400077009e03fe62b'/>
<id>urn:sha1:b1fb9abf09daa365b07c461400077009e03fe62b</id>
<content type='text'>
Repair segfaults and infinite loops in COUNT_ALLOCS builds in the
presence of new-style (heap-allocated) classes/types.

Note:  test_gc fails in a COUNT_ALLOCS build now, because it expects
a new-style class to get garbage collected.
</content>
</entry>
<entry>
<title>SF # 533070 Silence AIX C Compiler Warnings</title>
<updated>2002-06-13T21:39:47Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2002-06-13T21:39:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=046b35cf44613f31d78a1136875fffc580b2a8ff'/>
<id>urn:sha1:046b35cf44613f31d78a1136875fffc580b2a8ff</id>
<content type='text'>
Warning caused by using &amp;func.  &amp; is not necessary.
</content>
</entry>
<entry>
<title>Backport from 2.3:</title>
<updated>2002-05-13T18:30:40Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2002-05-13T18:30:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b4a27b9e6187145f967c588d90495cdf298c0000'/>
<id>urn:sha1:b4a27b9e6187145f967c588d90495cdf298c0000</id>
<content type='text'>
Jim Fulton reported a segfault in dir().  A heavily proxied object
returned a proxy for __class__ whose __bases__ was also a proxy.  The
merge_class_dict() helper for dir() assumed incorrectly that __bases__
would always be a tuple and used the in-line tuple API on the proxy.
</content>
</entry>
<entry>
<title>Backport the bits of Guido's fix for</title>
<updated>2002-03-05T15:41:40Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-05T15:41:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c4562a89ea7ad46d6b7ab57481e4cf214e7a7b47'/>
<id>urn:sha1:c4562a89ea7ad46d6b7ab57481e4cf214e7a7b47</id>
<content type='text'>
SF patch 514641 (Naofumi Honda) - Negative ob_size of LongObjects

that Tim didn't later back out.
</content>
</entry>
<entry>
<title>backport tim_one's checkin of</title>
<updated>2002-03-05T14:23:56Z</updated>
<author>
<name>Michael W. Hudson</name>
<email>mwh@python.net</email>
</author>
<published>2002-03-05T14:23:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc7af7705ca0b381a9abd0535d02bd44e3f07ced'/>
<id>urn:sha1:fc7af7705ca0b381a9abd0535d02bd44e3f07ced</id>
<content type='text'>
    revision 2.164 of object.c

Whether platform malloc(0) returns NULL has nothing to do with whether
platform realloc(p, 0) returns NULL, so MALLOC_ZERO_RETURNS_NULL can
be correctly undefined yet realloc(p, 0) can return NULL anyway.

Prevent realloc(p, 0) doing free(p) and returning NULL via a different
hack.  Would probably be better to get rid of MALLOC_ZERO_RETURNS_NULL
entirely.

Bugfix candidate.
</content>
</entry>
</feed>
