[Zope-dev] Re: RFC: backward compatibility of PythonScript bindings for 2.6.4 / 2.7.0

Evan Simpson evan at 4-am.com
Wed Jan 21 12:17:18 EST 2004


Jeremy Hylton wrote:
> What if you used a special object that would produce a useful error
> message if the user tries to access the container.

I like this.  Make it a singleton, and put it in the global namespace 
for Scripts, so that we can write:

   if context is Inaccessible:
     # Do without access to context

Cheers,

Evan @ 4-am




More information about the Zope-Dev mailing list