[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279398#comment-13279398 ]
Jake Farrell commented on THRIFT-1604: -------------------------------------- We can not run a command line switch as it is not just the generated code that needed modifications, the client lib has this change in it as well. We try to support as many versions of the client libs and os versions as possible but when running into these types of issues we go with the latest stable released version as the tie breaker. Website updated for python >= 2.6 requirement. > 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 > Fix For: 0.9 > > 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