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

Remove UnboundMethodType in TProtocolDecorator

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment