<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Objects/structseq.c, branch 3.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>Issue #18520: Add a new PyStructSequence_InitType2() function, same than</title>
<updated>2013-07-22T20:24:54+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-22T20:24:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=1c8f059019d79f1891f42a2656a96919a1187967'/>
<id>1c8f059019d79f1891f42a2656a96919a1187967</id>
<content type='text'>
PyStructSequence_InitType() except that it has a return value (0 on success,
-1 on error).

 * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure
 * Fix also some calls to PyDict_SetItemString(): handle error
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyStructSequence_InitType() except that it has a return value (0 on success,
-1 on error).

 * PyStructSequence_InitType2() now raises MemoryError on memory allocation failure
 * Fix also some calls to PyDict_SetItemString(): handle error
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #18408: Fix structseq_reduce(), handle PyDict_SetItemString() failure</title>
<updated>2013-07-17T11:41:39+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@wyplay.com</email>
</author>
<published>2013-07-17T11:41:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=9a146eeadbf7e8a5f93e3ee817364928dba4613b'/>
<id>9a146eeadbf7e8a5f93e3ee817364928dba4613b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Close #18469: Replace PyDict_GetItemString() with _PyDict_GetItemId() in structseq.c</title>
<updated>2013-07-16T23:22:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-16T23:22:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=26f91999b453563839466322164e566781f10ccd'/>
<id>26f91999b453563839466322164e566781f10ccd</id>
<content type='text'>
_PyDict_GetItemId() is more efficient: it only builds the Unicode string once.
Identifiers (dictionary keys) are now created at Python initialization, and if
the creation failed, Python does exit with a fatal error.

Before, PyDict_GetItemString() failure was not handled: structseq_new() could
call PyObject_GC_NewVar() with a negative size, and structseq_dealloc() could
also crash.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyDict_GetItemId() is more efficient: it only builds the Unicode string once.
Identifiers (dictionary keys) are now created at Python initialization, and if
the creation failed, Python does exit with a fatal error.

Before, PyDict_GetItemString() failure was not handled: structseq_new() could
call PyObject_GC_NewVar() with a negative size, and structseq_dealloc() could
also crash.
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for NULL return value in PyStructSequence_NewType(). Found by Coverity.</title>
<updated>2012-08-19T09:20:41+00:00</updated>
<author>
<name>Stefan Krah</name>
<email>skrah@bytereef.org</email>
</author>
<published>2012-08-19T09:20:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6b962860e2bd2d08d8d5d38969ed4864f8c1219a'/>
<id>6b962860e2bd2d08d8d5d38969ed4864f8c1219a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix indentation</title>
<updated>2012-02-15T01:52:58+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2012-02-15T01:52:58+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4b3c7846c9a25dfe4e508d9059ff8274023acd09'/>
<id>4b3c7846c9a25dfe4e508d9059ff8274023acd09</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #13020: Fix a reference leak when allocating a structsequence object fails.</title>
<updated>2012-02-15T01:51:43+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2012-02-15T01:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=37784ba5c08aed9a3153eb5a37014e59ee3769fe'/>
<id>37784ba5c08aed9a3153eb5a37014e59ee3769fe</id>
<content type='text'>
Patch by Suman Saha.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Suman Saha.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branches/pep-0384.</title>
<updated>2010-12-03T20:14:31+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2010-12-03T20:14:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9'/>
<id>4d0d471a8031de90a2b1ce99c4ac4780e60b3bc9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Include structseq.h in Python.h, and remove now-redundant includes in individual sources.</title>
<updated>2010-11-30T09:30:54+00:00</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2010-11-30T09:30:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=71c23d447322307572fbe0ca68b61fad97e10021'/>
<id>71c23d447322307572fbe0ca68b61fad97e10021</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix repr of complicated structseqs #9206</title>
<updated>2010-07-08T22:33:03+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-07-08T22:33:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d02441ea2fcf3862c92bf990ac568d8cb1e19d48'/>
<id>d02441ea2fcf3862c92bf990ac568d8cb1e19d48</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make struct sequences subclass tuple; kill lots of code</title>
<updated>2010-07-07T20:54:01+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2010-07-07T20:54:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ccabcd4bd441416c276a4755a601fd3fc290e32a'/>
<id>ccabcd4bd441416c276a4755a601fd3fc290e32a</id>
<content type='text'>
This fixes #8413.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes #8413.
</pre>
</div>
</content>
</entry>
</feed>
