<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/gcmodule.c, branch v2.4.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/Modules/gcmodule.c?h=v2.4.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/gcmodule.c?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-11-01T16:39:57Z</updated>
<entry>
<title>gc_list_move():  Make this truly equivalent to remove+append.  While</title>
<updated>2004-11-01T16:39:57Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-11-01T16:39:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bc1d1b80d1abfd7f95cb02e7f09be18b94504559'/>
<id>urn:sha1:bc1d1b80d1abfd7f95cb02e7f09be18b94504559</id>
<content type='text'>
nothing in gc currently cares, the original coding could screw up if,
e.g., you tried to move a node to the list it's already in, and the node
was already the last in its list.
</content>
</entry>
<entry>
<title>gc list function cleanup.</title>
<updated>2004-11-01T01:39:08Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-11-01T01:39:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9'/>
<id>urn:sha1:e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9</id>
<content type='text'>
Introduced gc_list_move(), which captures the common gc_list_remove() +
gc_list_append() sequence.  In fact, no uses of gc_list_append() remained
(they were all in a gc_list_move() sequence), so commented that one out.

gc_list_merge():  assert that `from` != `to`; that was an implicit
precondition, now verified in a debug build.

Others:  added comments about their purpose.
</content>
</entry>
<entry>
<title>handle_weakrefs():  Simplification -- there's no need to make a second</title>
<updated>2004-10-31T22:12:43Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-31T22:12:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cc2a866cb7439788b9083969b0f79b8483f3e071'/>
<id>urn:sha1:cc2a866cb7439788b9083969b0f79b8483f3e071</id>
<content type='text'>
pass over the unreachable weakrefs-with-callbacks to unreachable objects.
</content>
</entry>
<entry>
<title>SF 1055820: weakref callback vs gc vs threads</title>
<updated>2004-10-30T23:09:22Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-30T23:09:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ead8b7ab3008bda9b6a50d6d9d02ed68dab3b0fd'/>
<id>urn:sha1:ead8b7ab3008bda9b6a50d6d9d02ed68dab3b0fd</id>
<content type='text'>
In cyclic gc, clear weakrefs to unreachable objects before allowing any
Python code (weakref callbacks or __del__ methods) to run.

This is a critical bugfix, affecting all versions of Python since weakrefs
were introduced.  I'll backport to 2.3.
</content>
</entry>
<entry>
<title>Convert return value to boolean.</title>
<updated>2004-01-04T04:00:13Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-01-04T04:00:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=674d56b82e59dfe481f355999b49a7b99b8d763d'/>
<id>urn:sha1:674d56b82e59dfe481f355999b49a7b99b8d763d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Silence GCC warning when asserts are turned off.</title>
<updated>2003-11-24T04:02:13Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-11-24T04:02:13Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0bba722fff2bac1bf6a03b994a0a9d516a413ab5'/>
<id>urn:sha1:0bba722fff2bac1bf6a03b994a0a9d516a413ab5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF bug 839548:  Bug in type's GC handling causes segfaults.</title>
<updated>2003-11-20T21:21:46Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-11-20T21:21:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=403a2032230087943a52453deef93769f22461f8'/>
<id>urn:sha1:403a2032230087943a52453deef93769f22461f8</id>
<content type='text'>
Also SF patch 843455.

This is a critical bugfix.
I'll backport to 2.3 maint, but not beyond that.  The bugs this fixes
have been there since weakrefs were introduced.
</content>
</entry>
<entry>
<title>update_refs():  assert that incoming refcounts aren't 0.  The comment</title>
<updated>2003-11-14T00:01:17Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-11-14T00:01:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=780c497972f367df86cf0f6f3b7c2aecf1e078d6'/>
<id>urn:sha1:780c497972f367df86cf0f6f3b7c2aecf1e078d6</id>
<content type='text'>
for this function has always claimed that was true, but it wasn't
verified before.  For the latest batch of "double deallocation" bugs
(stemming from weakref callbacks invoked by way of subtype_dealloc),
this assert would have triggered (instead of waiting for
_Py_ForgetReference to die with a segfault later).
</content>
</entry>
<entry>
<title>Bug #794140: cygwin builds do not embed</title>
<updated>2003-09-04T11:59:50Z</updated>
<author>
<name>Jason Tishler</name>
<email>jason@tishler.net</email>
</author>
<published>2003-09-04T11:59:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6bc06eca70f4c41f01bca5f39d54ff5f71a39092'/>
<id>urn:sha1:6bc06eca70f4c41f01bca5f39d54ff5f71a39092</id>
<content type='text'>
The embed2.diff patch solves the user's problem by exporting the missing
symbols from the Python core so Python can be embedded in another Cygwin
application (well, at lest vim).
</content>
</entry>
<entry>
<title>- New C API PyGC_Collect(), same as calling gc.collect().</title>
<updated>2003-04-17T17:29:22Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-17T17:29:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e13ddc9ec85287b17fd03454f836f495c1167de9'/>
<id>urn:sha1:e13ddc9ec85287b17fd03454f836f495c1167de9</id>
<content type='text'>
- Call this in Py_Finalize().
- Expand the Misc/NEWS text on PY_LONG_LONG.
</content>
</entry>
</feed>
