You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/01/10 17:35:39 UTC
[jira] [Commented] (THRIFT-3538) Remove UnboundMethodType in
TProtocolDecorator
[ https://issues.apache.org/jira/browse/THRIFT-3538?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15091107#comment-15091107 ]
ASF GitHub Bot commented on THRIFT-3538:
----------------------------------------
GitHub user tbartelmess opened a pull request:
https://github.com/apache/thrift/pull/783
THRIFT-3538 Removed UnboundMethodType
https://issues.apache.org/jira/browse/THRIFT-3538
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tbartelmess/thrift THRIFT-3538
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/783.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #783
----
commit 05524dc16bddb60868d1bab4a0376a3182e737e0
Author: Thomas Bartelmess <tb...@marketcircle.com>
Date: 2016-01-10T16:34:19Z
Removed UnboundMethodType
https://issues.apache.org/jira/browse/THRIFT-3538
----
> 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)