[Checkins] SVN: zope.hookable/trunk/s Support Python 3.2, where _PyObject_GC_Del alias was removed.

Gediminas Paulauskas menesis at pov.lt
Tue Jun 14 12:00:06 EDT 2011


Log message for revision 121930:
  Support Python 3.2, where _PyObject_GC_Del alias was removed.
  

Changed:
  U   zope.hookable/trunk/setup.py
  U   zope.hookable/trunk/src/zope/hookable/_zope_hookable.c

-=-
Modified: zope.hookable/trunk/setup.py
===================================================================
--- zope.hookable/trunk/setup.py	2011-06-14 15:53:34 UTC (rev 121929)
+++ zope.hookable/trunk/setup.py	2011-06-14 16:00:05 UTC (rev 121930)
@@ -39,8 +39,10 @@
         "Programming Language :: Python :: 2.4",
         "Programming Language :: Python :: 2.5",
         "Programming Language :: Python :: 2.6",
+        "Programming Language :: Python :: 2.7",
         "Programming Language :: Python :: 3",
         "Programming Language :: Python :: 3.1",
+        "Programming Language :: Python :: 3.2",
         "Topic :: Software Development :: Libraries :: Python Modules",
       ],
 

Modified: zope.hookable/trunk/src/zope/hookable/_zope_hookable.c
===================================================================
--- zope.hookable/trunk/src/zope/hookable/_zope_hookable.c	2011-06-14 15:53:34 UTC (rev 121929)
+++ zope.hookable/trunk/src/zope/hookable/_zope_hookable.c	2011-06-14 16:00:05 UTC (rev 121930)
@@ -196,7 +196,7 @@
         /* tp_init           */ (initproc)hookable_init,
         /* tp_alloc          */ (allocfunc)0,
         /* tp_new            */ (newfunc)0 /*PyType_GenericNew*/,
-	/* tp_free           */ 0/*_PyObject_GC_Del*/,
+	/* tp_free           */ 0/*PyObject_GC_Del*/,
 };
 
 
@@ -226,7 +226,7 @@
 
 
   hookabletype.tp_new = PyType_GenericNew;
-  hookabletype.tp_free = _PyObject_GC_Del;
+  hookabletype.tp_free = PyObject_GC_Del;
 
   if (PyType_Ready(&hookabletype) < 0)
     return MOD_ERROR_VAL;



More information about the checkins mailing list