On Thursday 25 August 2005 23:50, Gary Poster wrote: > instead of this monkey patch (recorded for posterity, in case anyone > needs this now...or has a better suggestion) > > # XXX argh. > import pytz.tzinfo > from zope.security.checker import NamesChecker > from zope.interface.common.idatetime import ITZInfo > names = set(ITZInfo.names(all=True)) > names.add('zone') > checker = NamesChecker(names) > pytz.UTC.__Security_checker__ = checker > pytz.tzinfo.BaseTzInfo.__Security_checker__ = checker > # end argh.
You can always create a custom directive, which I think would be okay here. Regards, Stephan -- Stephan Richter CBU Physics & Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training _______________________________________________ Zope3-dev mailing list Zope3firstname.lastname@example.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com