[Zope3-dev] Nasty bugs

R. David Murray bitz@bitdance.com
Wed, 20 Mar 2002 10:50:59 -0500 (EST)


On Thu, 21 Mar 2002, Casey Duncan wrote:
> I'm sure this is an over-simplification, but couldn't we solve this
> using getbaseobject from ContextWrapper.wrapper?
>
> Such as:
>
> if getbaseobject(baz) is None:
>     The bloody thing is none...

The problem with this is that it is a major design goal of Zope3
to have it work with 3rd party python modules without modifications
to those modules.  Using this technique requires that all python
code called from Zope3 be wrapper aware, and that would really
upset me, and I'm sure others as well <wry grin>.

--RDM