Re: [Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-05 Thread Martijn Faassen
Hi there, Baiju, much thanks for looking into this. I hope we can indeed get rid of this code. I myself have the suspicion that the deprecation system is perhaps a 'false optimum' in most cases. Putting in deprecations tends to be quite a bit of work (as it's a code change), the warnings weren

Re: [Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-05 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Baiju M wrote: > On Thu, Mar 5, 2009 at 11:26 AM, Tres Seaver wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Baiju M wrote: >>> Hi, >>> >>>zope.deprecation is used in zope.configuration *only* to turn >>> off deprecation warning

Re: [Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-05 Thread Chris Withers
Baiju M wrote: > I have pasted the relevant code here: > > def resolve(self, dottedname): > """Resolve a dotted name to an object.""" I wonder why zope.dottedname isn't being used here either? Chris -- Simplistix - Content Management, Zope & Python Consulting - http://www.s

Re: [Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-04 Thread Baiju M
On Thu, Mar 5, 2009 at 11:26 AM, Tres Seaver wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Baiju M wrote: >> Hi, >> >>    zope.deprecation is used in zope.configuration *only* to turn >> off deprecation warning when accessing attribute of an object in >> one place.  But there is no

Re: [Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-04 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Baiju M wrote: > Hi, > >zope.deprecation is used in zope.configuration *only* to turn > off deprecation warning when accessing attribute of an object in > one place. But there is no test case or comment about when such > a warning will occur. >

[Zope-dev] Dependency of zope.deprecation in zope.configuration

2009-03-04 Thread Baiju M
Hi, zope.deprecation is used in zope.configuration *only* to turn off deprecation warning when accessing attribute of an object in one place. But there is no test case or comment about when such a warning will occur. I have pasted the relevant code here: def resolve(self, dottedname):