[Python-checkins] cpython (merge 3.2 -> 3.3): merge 3.2

benjamin.peterson python-checkins at python.org
Sat Dec 15 21:46:28 CET 2012


http://hg.python.org/cpython/rev/313225e42f99
changeset:   80866:313225e42f99
branch:      3.3
parent:      80860:59358f991c00
parent:      80865:8ba5a34e103e
user:        Benjamin Peterson <benjamin at python.org>
date:        Sat Dec 15 15:44:08 2012 -0500
summary:
  merge 3.2

files:
  Modules/_ctypes/_ctypes.c |  2 --
  1 files changed, 0 insertions(+), 2 deletions(-)


diff --git a/Modules/_ctypes/_ctypes.c b/Modules/_ctypes/_ctypes.c
--- a/Modules/_ctypes/_ctypes.c
+++ b/Modules/_ctypes/_ctypes.c
@@ -2442,8 +2442,6 @@
 static int
 PyCData_clear(CDataObject *self)
 {
-    StgDictObject *dict = PyObject_stgdict((PyObject *)self);
-    assert(dict); /* Cannot be NULL for CDataObject instances */
     Py_CLEAR(self->b_objects);
     if ((self->b_needsfree)
         && _CDataObject_HasExternalBuffer(self))

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list