[ 
https://issues.apache.org/jira/browse/THRIFT-475?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

James E. King III closed THRIFT-475.
------------------------------------
    Resolution: Invalid
      Assignee: James E. King III

We do not support python 2.6 any longer.

> DeprecationWarning for Thrift-generated code in Python 2.6
> ----------------------------------------------------------
>
>                 Key: THRIFT-475
>                 URL: https://issues.apache.org/jira/browse/THRIFT-475
>             Project: Thrift
>          Issue Type: Bug
>          Components: Python - Compiler
>    Affects Versions: 0.2
>         Environment: Ubuntu 9.04
>            Reporter: Swaroop
>            Assignee: James E. King III
>            Priority: Minor
>         Attachments: 
> ASF.LICENSE.NOT.GRANTED--v1-0006-THRIFT-475.-python-Eliminate-DeprecationWarning.patch
>
>
> Declaring an Exception in a Thrift class and then using it under Python 2.6 
> generates the following code:
> /usr/local/lib/python2.6/dist-packages/thrift/Thrift.py:58: 
> DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
>   self.message = message



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to