class-advice decorators fail silently in Python 3K

Bug #911995 reported by Jim Fulton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zope.interface
Fix Released
Undecided
Unassigned

Bug Description

class-advice declarations apparently fail silently in Python 3k. See:

   https://bugs.launchpad.net/bugs/911851

They should raise an immediate error when used in Python 3k, perhaps by being undefined.

Further, they should cause a deprecation warning in Python 2.7.

Revision history for this message
Marius Gedminas (mgedmin) wrote :

According to the changelog this has been fixed in 4.0.0. The deprecation warning was removed in 4.0.1, but trying to use class-advice decorators on Python 3 will raise an error.

Changed in zope.interface:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.