Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3538

Remove UnboundMethodType in TProtocolDecorator

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: Python - Library
    • Labels:
      None

      Description

      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

      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
      

        Attachments

          Activity

            People

            • Assignee:
              tbartelmess Thomas Bartelmess
              Reporter:
              tbartelmess Thomas Bartelmess
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: