<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/weakrefobject.c, branch 2.3</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/weakrefobject.c?h=2.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/weakrefobject.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-31T00:13:07Z</updated>
<entry>
<title>SF 1055820: weakref callback vs gc vs threads</title>
<updated>2004-10-31T00:13:07Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2004-10-31T00:13:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7d37a2a564c18ea4e6b66b5622cfeee56666f900'/>
<id>urn:sha1:7d37a2a564c18ea4e6b66b5622cfeee56666f900</id>
<content type='text'>
In cyclic gc, clear all 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.
</content>
</entry>
<entry>
<title>Be more careful about maintaining the invariants; it was actually</title>
<updated>2004-08-03T14:46:57Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-08-03T14:46:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=728b519b38302648886b4e69a584061a72088e05'/>
<id>urn:sha1:728b519b38302648886b4e69a584061a72088e05</id>
<content type='text'>
possible that the callback-less flavors of the ref or proxy could have
been added during GC, so we don't want to replace them.
</content>
</entry>
<entry>
<title>Allocating a new weakref object can cause existing weakref objects for</title>
<updated>2004-02-04T23:13:43Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-04T23:13:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=74788b6af49011be30c95ad2e7ae98ca95138bde'/>
<id>urn:sha1:74788b6af49011be30c95ad2e7ae98ca95138bde</id>
<content type='text'>
the same object to be collected by the cyclic GC support if they are
only referenced by a cycle.  If the weakref being collected was one of
the weakrefs without callbacks, some local variables for the
constructor became invalid and have to be re-computed.

The test caused a segfault under a debug build without the fix applied.
</content>
</entry>
<entry>
<title>Fix bug in interpretation of the "callback" argument in the constructors for</title>
<updated>2004-02-03T20:15:31Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2004-02-03T20:15:31Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a7555f8413cd0feaa6c0cf3d453497fdb433bddb'/>
<id>urn:sha1:a7555f8413cd0feaa6c0cf3d453497fdb433bddb</id>
<content type='text'>
weakref ref and proxy objects; None was not being treated as identical to
NULL, though it was documented as equivalent.
</content>
</entry>
<entry>
<title>SF bug 839548:  Bug in type's GC handling causes segfaults.</title>
<updated>2003-11-20T22:13:51Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-11-20T22:13:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ca6919c1805d20533d2be8e68e2849e15aff7bf7'/>
<id>urn:sha1:ca6919c1805d20533d2be8e68e2849e15aff7bf7</id>
<content type='text'>
Also SF patch 843455.

This is a critical bugfix, backported from 2.4 development.
I don't intend to backport beyond 2.3 maint.  The bugs this fixes
have been there since weakrefs were introduced.
</content>
</entry>
<entry>
<title>Remove proxy_print(), since that caused an inconsistency between</title>
<updated>2003-07-14T21:46:23Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2003-07-14T21:46:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fe89cc186cc0a0d31f63ee0f174b394f2538c5a8'/>
<id>urn:sha1:fe89cc186cc0a0d31f63ee0f174b394f2538c5a8</id>
<content type='text'>
"print repr(proxy(a))" and "proxy(a)" at an interactive prompt.
Closes SF bug #722763.
</content>
</entry>
<entry>
<title>Fix SF 762891:  "del p[key]" on proxy object raises SystemError()</title>
<updated>2003-06-30T04:18:48Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-06-30T04:18:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d693a81595ae3c617f5dd20f9a8bf8b7f130683b'/>
<id>urn:sha1:d693a81595ae3c617f5dd20f9a8bf8b7f130683b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- The repr() of a weakref object now shows the __name__ attribute of</title>
<updated>2003-04-16T21:13:23Z</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>2003-04-16T21:13:23Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50'/>
<id>urn:sha1:c1f6e8cbc1d60c5fe00121c67bfc581301e7ce50</id>
<content type='text'>
  the referenced object, if it has one.

Also use %p to format pointers consistently, and use &lt;weakproxy ...&gt;
in proxy_repr(), to match the type name.
</content>
</entry>
<entry>
<title>Add support for the iterator protocol to weakref proxy objects.</title>
<updated>2002-08-09T18:34:16Z</updated>
<author>
<name>Fred Drake</name>
<email>fdrake@acm.org</email>
</author>
<published>2002-08-09T18:34:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f16c3dc81b33c5eaf977ff850c056f3c05143742'/>
<id>urn:sha1:f16c3dc81b33c5eaf977ff850c056f3c05143742</id>
<content type='text'>
Part of fixing SF bug #591704.
</content>
</entry>
<entry>
<title>Remove weakref free list.  This has the side effect of fixing a memory</title>
<updated>2002-03-27T15:18:21Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2002-03-27T15:18:21Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=38a8916134adaa0222c0e8d904c2b2b840cfb79b'/>
<id>urn:sha1:38a8916134adaa0222c0e8d904c2b2b840cfb79b</id>
<content type='text'>
management bug.  Also, move some duplicated code into the new_weakref
fucntion.
</content>
</entry>
</feed>
