You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Thomas Bartelmess (JIRA)" <ji...@apache.org> on 2016/01/10 17:34:39 UTC

[jira] [Created] (THRIFT-3538) Remove UnboundMethodType in TProtocolDecorator

Thomas Bartelmess created THRIFT-3538:
-----------------------------------------

             Summary: 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


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)