[Zope-PAS] Re: Five interfaces

Tres Seaver tseaver at palladion.com
Thu Nov 17 20:30:48 EST 2005


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

Sidnei da Silva wrote:
> On Thu, Nov 17, 2005 at 06:47:59PM -0600, J Cameron Cooper wrote:
> | Sidnei da Silva wrote:
> | >On Thu, Nov 17, 2005 at 02:42:00PM -0600, J Cameron Cooper wrote:
> | >| The trunk currently says in PluggableAuthService.py::
> | >| 
> | >|  try:
> | >|      from OFS.interfaces import IObjectManager
> | >|      from OFS.interfaces import ISimpleItem
> | >|      from OFS.interfaces import IPropertyManager
> | >|  except ImportError: # BBB
> | >|      from Products.Five.interfaces import IObjectManager
> | >|      from Products.Five.interfaces import ISimpleItem
> | >|      from Products.Five.interfaces import IPropertyManager
> | >| 
> | >| I think this is supposed to support Zope 2.7 and 2.8 interfaces. 
> | >| However, I don't see any of the first three imports existing in Zope 
> | >| 2.7. (Or, at least, 2.7.4.)
> | >| 
> | >| I haven't tested this myself, but do have a report of it not working.
> | >
> | >This is actually to support earlier versions of 2.8, as the interfaces
> | >were moved from Five to Zope in 2.8.x where I'm not quite sure what .x
> | >is.
> | 
> | Fair enough. But this still means it is dead on Zope 2.7. Is this intended?
> 
> I guess it is. From what I recall 'yuppie' added those.

I guess it needs talking about.  Given that 2.7 is now almost two
releases back, keeping BBB code around for its benefit on the trunk of
PAS seems questionable (the "BBB" there is actually for 2.8-ish Zopes).
 If you want to work out a patch which would keep it compatible with
2.7, we could incorporate it, but it is not an attractive target
platform for my work.


Ters.
- --
===================================================================
Tres Seaver          +1 202-558-7113          tseaver at palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDfS7I+gerLs4ltQ4RAuKoAKCtNVwpWrnTBjw6R/CALBRUGNTP7wCfZjXn
q+aZiFP7GnTdONaYS2OlGTo=
=Gm4Z
-----END PGP SIGNATURE-----



More information about the Zope-PAS mailing list