class-advice decorators fail silently in Python 3K
Bug #911995 reported by
Jim Fulton
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:/
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.
To post a comment you must log in.
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.