[Python-checkins] cpython: Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore

victor.stinner python-checkins at python.org
Mon Mar 21 18:15:57 CET 2011


http://hg.python.org/cpython/rev/513bab5cfb18
changeset: 68808:513bab5cfb18
user: Victor Stinner <victor.stinner at haypocalc.com>
date: Mon Mar 21 18:10:02 2011 +0100
summary:
 Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore
files:
 Objects/weakrefobject.c
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c
--- a/Objects/weakrefobject.c
+++ b/Objects/weakrefobject.c
@@ -156,7 +156,6 @@
 static PyObject *
 weakref_repr(PyWeakReference *self)
 {
- char buffer[256];
 PyObject *name, *repr;
 
 if (PyWeakref_GET_OBJECT(self) == Py_None)
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /