[
https://issues.apache.org/jira/browse/THRIFT-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091187#comment-15091187
]
ASF GitHub Bot commented on THRIFT-3538:
----------------------------------------
Github user asfgit closed the pull request at:
https://github.com/apache/thrift/pull/783
> 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
> 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)