Skip to content

Commit

Permalink
Added support for method cache in Persistence. Patch contributed by Y…
Browse files Browse the repository at this point in the history
…oshinori K. Okuji. See LP #486193.
  • Loading branch information
hannosch committed Feb 14, 2010
1 parent 5720f88 commit 8df8605
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Changelog
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.
Expand Down
6 changes: 5 additions & 1 deletion src/Persistence/_Persistence.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,11 @@ static PyTypeObject Ptype = {
/* 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",
};

Expand Down

0 comments on commit 8df8605

Please sign in to comment.