[Python-checkins] r81713 - in python/branches/py3k: Objects/abstract.c
benjamin.peterson
python-checkins at python.org
Sat Jun 5 04:11:45 CEST 2010
Author: benjamin.peterson
Date: Sat Jun 5 04:11:45 2010
New Revision: 81713
Log:
Merged revisions 81712 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81712 | benjamin.peterson | 2010-06-04 21:07:01 -0500 (Fri, 04 Jun 2010) | 1 line
_PyObject_LookupSpecial returns a new reference
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Objects/abstract.c
Modified: python/branches/py3k/Objects/abstract.c
==============================================================================
--- python/branches/py3k/Objects/abstract.c (original)
+++ python/branches/py3k/Objects/abstract.c Sat Jun 5 04:11:45 2010
@@ -716,6 +716,7 @@
/* And call it. */
result = PyObject_CallFunctionObjArgs(meth, format_spec, NULL);
+ Py_DECREF(meth);
if (result && !PyUnicode_Check(result)) {
PyErr_SetString(PyExc_TypeError,
More information about the Python-checkins
mailing list