<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/cPickle.c, branch v2.4.2</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cPickle.c?h=v2.4.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/cPickle.c?h=v2.4.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-07-27T05:22:33Z</updated>
<entry>
<title>Patch #995766: Keyword argument support in cPickle.</title>
<updated>2004-07-27T05:22:33Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-07-27T05:22:33Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=544f1195b113688008e23d86f8ee5a5a8537645f'/>
<id>urn:sha1:544f1195b113688008e23d86f8ee5a5a8537645f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Patch #774665: Make Python LC_NUMERIC agnostic.</title>
<updated>2004-06-08T18:52:54Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2004-06-08T18:52:54Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=737ea82a5abd448b3e214b44d7d3c579b77e8155'/>
<id>urn:sha1:737ea82a5abd448b3e214b44d7d3c579b77e8155</id>
<content type='text'>
</content>
</entry>
<entry>
<title>made cPickle fall back to the copy_reg/reduce protocol,</title>
<updated>2004-02-26T16:21:45Z</updated>
<author>
<name>Christian Tismer</name>
<email>tismer@stackless.com</email>
</author>
<published>2004-02-26T16:21:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2460c62152fe43f9da9381d09fd294f21e3640d7'/>
<id>urn:sha1:2460c62152fe43f9da9381d09fd294f21e3640d7</id>
<content type='text'>
if a function cannot be stored as global.
This is for compatibility with pickle.py .
</content>
</entry>
<entry>
<title>Simplify and speedup uses of Py_BuildValue():</title>
<updated>2003-10-12T19:09:37Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-10-12T19:09:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ae468965700fd9900efc28bff8fa2015dae2bef'/>
<id>urn:sha1:8ae468965700fd9900efc28bff8fa2015dae2bef</id>
<content type='text'>
* Py_BuildValue("(OOO)",a,b,c)  --&gt;  PyTuple_Pack(3,a,b,c)
* Py_BuildValue("()",a)         --&gt;  PyTuple_New(0)
* Py_BuildValue("O", a)         --&gt;  Py_INCREF(a)
</content>
</entry>
<entry>
<title>The Unpickler forget about its find_class attribute.</title>
<updated>2003-07-11T19:42:49Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-07-11T19:42:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fff093fa7f429ecab973c192c8c0da0216355847'/>
<id>urn:sha1:fff093fa7f429ecab973c192c8c0da0216355847</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove many blanket try/except clauses.</title>
<updated>2003-06-16T20:19:49Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-06-16T20:19:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f00368f9edb4842ef668f4fcfbdcf2f34e3c6226'/>
<id>urn:sha1:f00368f9edb4842ef668f4fcfbdcf2f34e3c6226</id>
<content type='text'>
SF bug [ 751276 ] cPickle doesn't raise error, pickle does (recursiondepth)

Most of the calls to PyErr_Clear() were intended to catch &amp; clear an
attribute error and try something different.  Guard all those cases
with a PyErr_ExceptionMatches() and fail if some other error
occurred.  The other error is likely a bug in the user code.

This is basically the C equivalent of changing "except:" to
"except AttributeError:"
</content>
</entry>
<entry>
<title>PyType_Ready():  Complain if the type is a base type, and gc'able, and</title>
<updated>2003-05-21T21:29:48Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-05-21T21:29:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3cfe75470d1f77468be01002d09d884c3a431827'/>
<id>urn:sha1:3cfe75470d1f77468be01002d09d884c3a431827</id>
<content type='text'>
tp_free is NULL or PyObject_Del at the end.  Because it's a base type
it must call tp_free in its dealloc function, and because it's gc'able
it must not call PyObject_Del.

inherit_slots():  Don't inherit tp_free unless the type and its base
agree about whether they're gc'able.  If the type is gc'able and the
base is not, and the base uses the default PyObject_Del for its
tp_free, give the type PyObject_GC_Del for its tp_free (the appropriate
default for a gc'able type).

cPickle.c:  The Pickler and Unpickler types claim to be base classes
and gc'able, but their dealloc functions didn't call tp_free.
Repaired that.  Also call PyType_Ready() on these typeobjects, so
that the correct (PyObject_GC_Del) default memory-freeing function
gets plugged into these types' tp_free slots.
</content>
</entry>
<entry>
<title>Make Unpickler objects colletable.</title>
<updated>2003-04-09T21:25:30Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-04-09T21:25:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=7b5ce7f25a353fbf6516592f3fdcc9f10224ecb1'/>
<id>urn:sha1:7b5ce7f25a353fbf6516592f3fdcc9f10224ecb1</id>
<content type='text'>
Bugfix candidate.
</content>
</entry>
<entry>
<title>Make Picklers collectable.</title>
<updated>2003-04-09T21:05:12Z</updated>
<author>
<name>Jeremy Hylton</name>
<email>jeremy@alum.mit.edu</email>
</author>
<published>2003-04-09T21:05:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4cf6319cd27c73d0d962ec9bc6011ff0acab3b29'/>
<id>urn:sha1:4cf6319cd27c73d0d962ec9bc6011ff0acab3b29</id>
<content type='text'>
Bug fix candidate.
</content>
</entry>
<entry>
<title>New private API functions _PyFloat_{Pack,Unpack}(4,8}.  This is a</title>
<updated>2003-03-20T20:53:32Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2003-03-20T20:53:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9905b943f79a03741b062c82bdf96a078df303e4'/>
<id>urn:sha1:9905b943f79a03741b062c82bdf96a078df303e4</id>
<content type='text'>
refactoring to get all the duplicates of this delicate code out of the
cPickle and struct modules.
</content>
</entry>
</feed>
