[Twisted-Python] Using zope

June 10, 2016
9:57 a.m.
Hi, There are some places in the Twisted code which use zope.interface to do things like: class MyClass: inherits(IMyInterface) That works in Python 2, but the zope.interface library has code to hard fail that line on Python 3. The supported way of doing the same thing on Python 2 and 3 is: @implementer(IMyInterface) class MyClass This was discussed on the mailing list before by Barry Warsaw: https://twistedmatrix.com/pipermail/twisted-python/2013-January/026414.html I have submitted several patches for review (Trac ticket is in each one): http://bit.ly/1YhxKI2 For anyone who can help review the patches, the help would be appreciated. :) -- Craig
3199
Age (days ago)
3199
Last active (days ago)
0 comments
1 participants
participants (1)
-
Craig Rodrigues