[Zope-Checkins] SVN: Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py Added hint on where the segfault happens. My test output is irritating, it seems we end up with a cyclic aq_chain again :(

Hanno Schlichting plone at hannosch.info
Wed Aug 1 03:42:21 EDT 2007


Log message for revision 78523:
  Added hint on where the segfault happens. My test output is irritating, it seems we end up with a cyclic aq_chain again :(

Changed:
  U   Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py

-=-
Modified: Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py
===================================================================
--- Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py	2007-08-01 04:57:53 UTC (rev 78522)
+++ Zope/branches/philikon-aq/lib/python/Products/Five/browser/__init__.py	2007-08-01 07:42:20 UTC (rev 78523)
@@ -28,6 +28,9 @@
         # __of__ works.  With Acquisition, you get a wrapper around
         # the original object and only that wrapper's parent is the
         # new context.  Here we change the original object.
+        
+        # The first segfault happens in form.tests.forms.txt in the first line
+        # of the "Widget Overrides" chapter (line 154).
         #self.__parent__ = context  # ugh. segfault!
 
         return self



More information about the Zope-Checkins mailing list