[Python-checkins] r71738 - python/trunk/Objects/object.c

benjamin.peterson python-checkins at python.org
Sun Apr 19 04:32:42 CEST 2009


Author: benjamin.peterson
Date: Sun Apr 19 04:32:42 2009
New Revision: 71738

Log:
initialize weakref some weakref types

Modified:
   python/trunk/Objects/object.c

Modified: python/trunk/Objects/object.c
==============================================================================
--- python/trunk/Objects/object.c	(original)
+++ python/trunk/Objects/object.c	Sun Apr 19 04:32:42 2009
@@ -2039,6 +2039,12 @@
 	if (PyType_Ready(&_PyWeakref_RefType) < 0)
 		Py_FatalError("Can't initialize weakref type");
 
+	if (PyType_Ready(&_PyWeakref_CallableProxyType) < 0)
+		Py_FatalError("Can't initialize callable weakref proxy type");
+
+	if (PyType_Ready(&_PyWeakref_ProxyType) < 0)
+		Py_FatalError("Can't initialize weakref proxy type");
+
 	if (PyType_Ready(&PyBool_Type) < 0)
 		Py_FatalError("Can't initialize bool type");
 


More information about the Python-checkins mailing list