<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects, branch v2.4b2</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?h=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-10-30T23:09:22Z</updated>
<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>Wrote down the invariants of some common objects whose structure is</title>
<updated>2004-10-28T16:32:00Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2004-10-28T16:32:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89a39461bff04b80bb4857790350e1ab30ff2df9'/>
<id>urn:sha1:89a39461bff04b80bb4857790350e1ab30ff2df9</id>
<content type='text'>
exposed in header files.  Fixed a few comments in these headers.

As we might have expected, writing down invariants systematically exposed a
(minor) bug.  In this case, function objects have a writeable func_code
attribute, which could be set to code objects with the wrong number of
free variables.  Calling the resulting function segfaulted the interpreter.
Added a corresponding test.
</content>
</entry>
<entry>
<title>SF bug #1054139:  serious string hashing error in 2.4b1</title>
<updated>2004-10-26T01:52:37Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-26T01:52:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=561fbf138d30896af3e7afe33f9bc602dda5f2b7'/>
<id>urn:sha1:561fbf138d30896af3e7afe33f9bc602dda5f2b7</id>
<content type='text'>
_PyString_Resize() readied strings for mutation but did not invalidate
the cached hash value.
</content>
</entry>
<entry>
<title>Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar.</title>
<updated>2004-10-15T07:45:05Z</updated>
<author>
<name>Marc-André Lemburg</name>
<email>mal@egenix.com</email>
</author>
<published>2004-10-15T07:45:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=204bd6d9d2c7aa6c49ed9f6edd1ed12489ba972b'/>
<id>urn:sha1:204bd6d9d2c7aa6c49ed9f6edd1ed12489ba972b</id>
<content type='text'>
Python 2.3.x candidate.
</content>
</entry>
<entry>
<title>Finalize the freelist of list objects.</title>
<updated>2004-10-07T03:58:07Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-10-07T03:58:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb09f0e85cd75ec46700562687a9da3063ff0b7c'/>
<id>urn:sha1:fb09f0e85cd75ec46700562687a9da3063ff0b7c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use Py_CLEAR().  Add unrelated test.</title>
<updated>2004-09-28T01:51:35Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-28T01:51:35Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6429a4727e4bb8bcb0d3deefaefe195e63e6bb6e'/>
<id>urn:sha1:6429a4727e4bb8bcb0d3deefaefe195e63e6bb6e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Checkin Tim's fix to an error discussed on python-dev.</title>
<updated>2004-09-26T19:24:20Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-09-26T19:24:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aa241e014979612e2c8851bf9b12c16bcc07b161'/>
<id>urn:sha1:aa241e014979612e2c8851bf9b12c16bcc07b161</id>
<content type='text'>
Also, add a testcase.

Formerly, the list_extend() code used several local variables to remember
its state across iterations.  Since an iteration could call arbitrary
Python code, it was possible for the list state to be changed.  The new
code uses dynamic structure references instead of C locals.  So, they
are always up-to-date.

After list_resize() is called, its size has been updated but the new
cells are filled with NULLs.  These needed to be filled before arbitrary
iteration code was called; otherwise, that code could attempt to modify
a list that was in a semi-invalid state.  The solution was to change
the ob-&gt;size field back to a value reflecting the actual number of valid
cells.
</content>
</entry>
<entry>
<title>Remove 'extern' declaration for _Py_SwappedOp.</title>
<updated>2004-09-25T01:37:24Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2004-09-25T01:37:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5'/>
<id>urn:sha1:a5ca2e7220c22facc20a13ab6a8dc4c80b8624e5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Ensure negative offsets cannot be passed to buffer().  When composing</title>
<updated>2004-09-24T19:17:26Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2004-09-24T19:17:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=927a57fbeb584f8f0cc71cd04619f040d5ba872a'/>
<id>urn:sha1:927a57fbeb584f8f0cc71cd04619f040d5ba872a</id>
<content type='text'>
buffers, compute the new buffer size based on the old buffer size.
Fixes SF bug #1034242.
</content>
</entry>
<entry>
<title>Fix buffer offset calculation (need to compute it before changing</title>
<updated>2004-09-24T15:41:27Z</updated>
<author>
<name>Neil Schemenauer</name>
<email>nascheme@enme.ucalgary.ca</email>
</author>
<published>2004-09-24T15:41:27Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fb6ba07d9c6cccee260a70aef8f3cf52c5d26776'/>
<id>urn:sha1:fb6ba07d9c6cccee260a70aef8f3cf52c5d26776</id>
<content type='text'>
'base').  Fixes SF bug #1033720.  Move offset sanity checking to
buffer_from_memory().
</content>
</entry>
</feed>
