[Zope-Checkins] CVS: Packages/ZODB - referencesf.py:1.6.94.3
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv13892/ZODB Modified Files: Tag: Zope-2_7-branch referencesf.py Log Message: referencesf(): Use %r instead of %s format in the error message, else the pickle shown is full of unprintable characters. === Packages/ZODB/referencesf.py 1.6.94.2 = 1.6.94.3 === --- Packages/ZODB/referencesf.py:1.6.94.2 Thu Oct 2 19:32:50 2003 +++ Packages/ZODB/referencesf.pyThu Jun 2 17:24:43 2005 @@ -35,7 +35,7 @@ u.persistent_load = [] u.noload() if len(p) f.tell(): -raise ValueError, 'Error unpickling, %s' % p +raise ValueError, 'Error unpickling %r' % p # References may have class info, so we need to # check for wrapped references. ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] CVS: Cruft/ExtensionClass/src - Acquisition.c:1.61.4.3
Update of /cvs-repository/Cruft/ExtensionClass/src In directory cvs.zope.org:/tmp/cvs-serv13461/lib/Components/ExtensionClass/src Modified Files: Tag: Zope-2_7-branch Acquisition.c Log Message: - Collector #1799: Avoid lying about parent's refcount when calling back into Python code. === Cruft/ExtensionClass/src/Acquisition.c 1.61.4.2 = 1.61.4.3 === --- Cruft/ExtensionClass/src/Acquisition.c:1.61.4.2 Sat Apr 9 03:13:19 2005 +++ Cruft/ExtensionClass/src/Acquisition.c Thu Jun 2 23:27:25 2005 @@ -145,9 +145,9 @@ UNLESS(r=PyObject_GetAttr(inst, py__of__)) return NULL; UNLESS(t=PyTuple_New(1)) goto err; + Py_INCREF(parent); PyTuple_SET_ITEM(t,0,parent); ASSIGN(r,PyObject_CallObject(r,t)); - PyTuple_SET_ITEM(t,0,NULL); Py_DECREF(t); if (r ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.625.2.335
Update of /cvs-repository/Zope/doc In directory cvs.zope.org:/tmp/cvs-serv13461/doc Modified Files: Tag: Zope-2_7-branch CHANGES.txt Log Message: - Collector #1799: Avoid lying about parent's refcount when calling back into Python code. === Zope/doc/CHANGES.txt 1.625.2.334 = 1.625.2.335 === --- Zope/doc/CHANGES.txt:1.625.2.334Fri May 27 09:03:49 2005 +++ Zope/doc/CHANGES.txtThu Jun 2 23:27:25 2005 @@ -14,6 +14,9 @@ Bugs fixed + - Collector #1799: Avoid lying about parent's refcount when +calling back into Python code. + - Collector #889: made 'and' operator for KeywordIndexes actually restrict results as expected (thanks to 'aroda' for the patch!). ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins