[ZDP] BackTalk to Document Zope Developer's Guide (2.4 edition)/Acquisition
webmaster@zope.org
webmaster@zope.org
Mon, 10 Feb 2003 14:58:02 -0500
A comment to the paragraph below was recently added via http://www.zope.org/Documentation/Books/ZDG/current/Acquisition.stx#2-38
---------------
Note: as of this writing the 'aq_inContextOf' examples don't
work. According to Jim, this is because 'aq_inContextOf' works by
comparing object pointer addresses, which (because they are
actually different wrapper objects) doesn't give you the expected
results. He acknowledges that this behavior is controversial, and
says that there is a collector entry to change it so that you
would get the answer you expect in the above. (We just need to get
to it).
% Anonymous User - Feb. 10, 2003 2:58 pm:
A search on collector.zope.org for aq_inContextOf returns nothing.
Has this issue been resolved? Was there ever a collector issue for it?
In other words, does aq_inContextOf work or not?