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

Jens Geyer updated THRIFT-3538:
-------------------------------
    Assignee: Thomas Bartelmess

> Remove UnboundMethodType in TProtocolDecorator
> ----------------------------------------------
>
>                 Key: THRIFT-3538
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3538
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Library
>            Reporter: Thomas Bartelmess
>            Assignee: Thomas Bartelmess
>             Fix For: 0.9.4, 1.0
>
>
> UnboundMethodType is the same as MethodType, and it's gone in Python 3. 
> Removing it doesn't cause any harm because it's just an alias to MethodType
> {code}
> Python 2.7.10 (default, Aug 20 2015, 14:23:27) 
> [GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
> Type "help", "copyright", "credits" or "license" for more information.
> >>> from types import *
> >>> UnboundMethodType == MethodType
> True
> >>> UnboundMethodType is MethodType
> True
> {code}



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

Reply via email to