[Zope] How can I "from __future__ import nested_scopes" in python scripts?

Shane Hathaway shane@digicool.com
Tue, 26 Jun 2001 09:18:15 -0400


jelle wrote:
> I'm using Zope2.4 beta with Python 2.1 and I want to use the nest_scope
> functionality. However when I add the prerequisite statement:
> 
> from __future__ import nested_scopes
> 
> at the top of my python script it gives me an "ImportError" and
> "unauthorized" message.

You don't have to.  Starting in Zope 2.4.0a1, Nested scopes are always
turned on.

Shane