Re: zope.interface 4.0.0 considered annoying.

Tres Seaver <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On 05/19/2012 12:12 PM, Jim Fulton wrote:
> The declaration-syntax warnings in the zope.interface 4.0.0 are 
> annoying and mostly pointless.
> 
> There will be enough pain in porting applications to Python 3, 
> avoiding the surprise of having to use a different 
> interface-declaration syntax will not be of any consequence.
> 
> While the deprecation warning may provide some tiny benefit, the
> annoyance, especially for applications or libraries that still support
> Python 2.5 far outweights the benefit.

We're in an odd spot:  the Python3 support for zope.interface mostly
works, but the class advice bits (implements, implementsOnly,
classProvides) fail silently under Python3 before 4.0.0:  they literally
have no effect due to changes in class initialization machinery.
zope.interface 4.0.0 changes those silent failures into exceptions (which
is what I thought you were going to complain about).

Note as well that zope.interface 4.0.0 doesn't support Python 2.5 any longer.

> I propose that these deprecation warnings be removed.

I can do that, if that is the consensus.


Tres.
-- 
===================================================================
Tres Seaver          +1 540-429-0999          [email protected]
Palladion Software   "Excellence by Design"    http://palladion.com



_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.