You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2016/12/21 20:11:58 UTC

[jira] [Resolved] (THRIFT-4009) Use @implementer instead of implements in TTwisted.py

     [ https://issues.apache.org/jira/browse/THRIFT-4009?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jens Geyer resolved THRIFT-4009.
--------------------------------
       Resolution: Fixed
         Assignee: Ciaran Courtney
    Fix Version/s:     (was: 0.10.0)
                   0.11.0

> Use @implementer instead of implements in TTwisted.py
> -----------------------------------------------------
>
>                 Key: THRIFT-4009
>                 URL: https://issues.apache.org/jira/browse/THRIFT-4009
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>    Affects Versions: 0.9.3
>            Reporter: Ciaran Courtney
>            Assignee: Ciaran Courtney
>            Priority: Minor
>              Labels: easyfix, newbie
>             Fix For: 0.11.0
>
>
> As per zope.interface 4.0.0 changelog
> {quote}
> * Deprecate the “class advice” APIs from zope.interface.declarations: implements, implementsOnly, and classProvides. In their place, prefer the equivalent class decorators: @implementer, @implementer_only, and @provider. Code which uses the deprecated APIs will not work as expected under Py3k.
> {quote}
> https://pypi.python.org/pypi/zope.interface
> PR incoming, patch is simply output of {{zope-2to3 -wn lib/py/src/transport/TTwisted.py}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)