[Zope-dev] zope.publisher uses deprecated IView

Tres Seaver tseaver at palladion.com
Fri Mar 6 11:02:36 EST 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martijn Faassen wrote:
> Hey,
> 
> Wolfgang Schnerring wrote:
>> since Dan Korostelev commented on my https://bugs.launchpad.net/zope3/+bug/338136
>> saying I should take it to the mailing list, here goes:
>>
>> zope.publisher.interfaces.browser.IBrowserView inherits from
>> zope.component.interfaces.IView, which actually is
>> zope.component.bbb.interfaces.IView -- marked as deprecated since
>> 2004, but no pointer what the replacement should be.
>>
>> What's going on here?
> 
> I actually remember running into this many many years ago and got so 
> confused I gave up on it then. :) Hopefully someone else can tell you more!
> 
> Something is definitely funky in here.
> 
> I wonder what happens to our compattests if we simply remove this 
> inheritance relationship. If nothing directly refers to IView it might 
> mean everything will still work...

I just undeprecated IView and the other 'bbb' interfaces for exactly
this reason:  if core packages still use them five years later, then the
deprecation loses.


Tres.
- --
===================================================================
Tres Seaver          +1 540-429-0999          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJsUkc+gerLs4ltQ4RAuNxAJwK+mWmEesGrBEBDRGAbVRmmjJ2kACeONam
pIs6yQadsfbwT/n5XFcwC+4=
=C8ps
-----END PGP SIGNATURE-----



More information about the Zope-Dev mailing list