[prev in list] [next in list] [prev in thread] [next in thread]
List: zope-dev
Subject: Re: [Zope-dev] Weird IndexableObjectWrapper + TopicIndex +
From: Lennart Regebro <regebro () gmail ! com>
Date: 2005-09-21 22:41:16
Message-ID: 319e029f05092115415002f9d2 () mail ! gmail ! com
[Download RAW message or body]
> When an acquisition wrapper is formed, there always must some context
> (which is put into "aq_parent").
Well, as I can figure out this is the code that does the wrapping:
/* Crap, we've got to construct a wrapper so we can use Wrapper_findattr */
UNLESS (self=newWrapper(self, Py_None, (PyTypeObject*)&Wrappertype))
return NULL;
And that has None as the container/context.
http://svn.zope.org/Zope/tags/Zope-2-8-1/lib/python/Acquisition/_Acquisition.c?rev=37855&view=markup
_______________________________________________
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic