[Zope-dev] Zope2 interfaces delenda est!

Tres Seaver tseaver at palladion.com
Sat Apr 26 09:31:55 EDT 2008


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

Wichert Akkerman wrote:
> Previously Tres Seaver wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I'd like to rip out the old Interface module from the 2.11 branch and
>> the trunk, along with all the useless decoys which import it.  THere is
>> no *good* BBB reason to keep them around:  anybody still depending on
>> them in A.G. 2008 needs to switch over, anyway.
>>
>> Objections?  I'll fix the CMF breakage myself, but the Plone folks are
>> going to have to revisit lots of grotty bits.
> 
> Isn't the policy to deprecate in release N and remove in N+2?

They've been deprecated for five years.

> -1 on removing in 2.11
> +1 on deprecating in 2.11

I'll accept the *consensus fidelium* that they should be removed only in
the trunk.

Note that *any( code using the old interfaces (Plone has several places,
I know) is a potential booby trap for other developers:  I lost an hour
or so yesterday trying to figure why the "positioning" UI was displaying
on my IOrderableCOntainer, but the objects appeared not to move:  the
'getObjPositionInParent' kludge was using sniffing for the Z2 version of
the interface, instead of adapting.


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

iD8DBQFIEy7L+gerLs4ltQ4RAjIfAKCbvY3EJ9iIuV7cKZd1kMhFskRdKQCgkXOn
x7ZKCilkJldE5ABAs/27Wwc=
=wojG
-----END PGP SIGNATURE-----


More information about the Zope-Dev mailing list