[Zodb-checkins] CVS: Zope/lib/python/ZODB - cPickleCache.c:1.41.14.2
Toby Dickenson
tdickenson@geminidataloggers.com
Tue, 12 Mar 2002 12:56:34 -0500
Update of /cvs-repository/Zope/lib/python/ZODB
In directory cvs.zope.org:/tmp/cvs-serv17407
Modified Files:
Tag: toby-stiff-cache-branch
cPickleCache.c
Log Message:
collect up some changes since the cPickleCache fork
=== Zope/lib/python/ZODB/cPickleCache.c 1.41.14.1 => 1.41.14.2 ===
(PyObject*)NULL, PYTHON_API_VERSION);
- d = PyModule_GetDict(m);
+ py_reload = PyString_InternFromString("reload");
+ py__p_jar = PyString_InternFromString("_p_jar");
+ py__p_changed = PyString_InternFromString("_p_changed");
+ py__p_oid = PyString_InternFromString("_p_oid");
- py__p_oid=PyString_FromString("_p_oid");
- py_reload=PyString_FromString("reload");
- py__p_jar=PyString_FromString("_p_jar");
- py__p_changed=PyString_FromString("_p_changed");
+ d = PyModule_GetDict(m);
PyDict_SetItemString(d,"cache_variant",PyString_FromString("stiff/c"));