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

Remove UnboundMethodType in TProtocolDecorator

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Python - Library
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: