[Checkins] SVN: Persistence/trunk/ Added support for method cache in Persistence. Patch contributed by Yoshinori K. Okuji. See LP #486193.

Hanno Schlichting hannosch at hannosch.eu
Sun Feb 14 17:02:09 EST 2010


Log message for revision 109061:
  Added support for method cache in Persistence. Patch contributed by Yoshinori K. Okuji. See LP #486193.
  

Changed:
  U   Persistence/trunk/CHANGES.txt
  U   Persistence/trunk/src/Persistence/_Persistence.c

-=-
Modified: Persistence/trunk/CHANGES.txt
===================================================================
--- Persistence/trunk/CHANGES.txt	2010-02-14 21:57:08 UTC (rev 109060)
+++ Persistence/trunk/CHANGES.txt	2010-02-14 22:02:09 UTC (rev 109061)
@@ -4,6 +4,9 @@
 2.12.0 (unreleased)
 -------------------
 
+- Added support for method cache in Persistence. Patch contributed by
+  Yoshinori K. Okuji. See https://bugs.launchpad.net/zope2/+bug/486193.
+
 - Updated C includes to ExtensionClass 2.12.0.
 
 - Updated package metadata and remove old build artifacts.

Modified: Persistence/trunk/src/Persistence/_Persistence.c
===================================================================
--- Persistence/trunk/src/Persistence/_Persistence.c	2010-02-14 21:57:08 UTC (rev 109060)
+++ Persistence/trunk/src/Persistence/_Persistence.c	2010-02-14 22:02:09 UTC (rev 109061)
@@ -129,7 +129,11 @@
         /* tp_getattro       */ (getattrofunc)P_getattr,
         0, 0,
         /* tp_flags          */ Py_TPFLAGS_DEFAULT
-				| Py_TPFLAGS_BASETYPE ,
+				| Py_TPFLAGS_BASETYPE
+#ifdef Py_TPFLAGS_HAVE_VERSION_TAG
+				| Py_TPFLAGS_HAVE_VERSION_TAG
+#endif
+				,
 	/* tp_doc            */ "Persistent ExtensionClass",
 };
 



More information about the checkins mailing list