[Zope-Coders] Re: [Zope-Checkins] CVS: Zope/lib/python/AccessControl - ZopeGuards.py:1.13

Chris Withers chrisw@nipltd.com
Wed, 18 Dec 2002 12:33:05 +0000


Toby Dickenson wrote:
> On Wednesday 18 December 2002 11:15 am, Chris Withers wrote:
> 
>>_or_ put the package in Products but
>>then make sure they change all their import statements to start with
>>'Products.'
> 
> Do the first of these, then your __init__ can hack sys.modules so that clients 
> dont have to do the second

That sounds truly evil ;-)

Evan made a suggestion in http://collector.zope.org/Zope/685 which I like and am 
going to work on...

cheers,

Chris