You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Roger Meier (JIRA)" <ji...@apache.org> on 2012/05/17 20:50:09 UTC

[jira] [Commented] (THRIFT-1604) Python exception handeling for changes from PEP 3110

    [ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278082#comment-13278082 ] 

Roger Meier commented on THRIFT-1604:
-------------------------------------

+1
                
> Python exception handeling for changes from PEP 3110
> ----------------------------------------------------
>
>                 Key: THRIFT-1604
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1604
>             Project: Thrift
>          Issue Type: Bug
>    Affects Versions: 0.8, 0.9
>            Reporter: Jake Farrell
>            Assignee: Jake Farrell
>            Priority: Minor
>         Attachments: THRIFT-1604.patch
>
>
> Python PEP 3110 changed exception handling by replacing the ',' with 'as'. This was initially introduced in python 2.6 and in 3.0 the ',' usage is no longer suppported. Since exception handling through out the py lib uses the ',' it will need to be converted over to using the 'as' syntax for exceptions

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira