[
https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279362#comment-13279362
]
Will Pierce commented on THRIFT-1604:
-------------------------------------
(not that i like having to support python 2.4), but doesn't this break thrift
for RHEL/CentOS 5 based python2.4 systems?
if we're okay dropping py2.4 support, we should update the docs w/ 2.6 as the
minimum python version (RHEL/CentOS6), or if not, then a cmdline option to
switch back to "," instead of "as" would be nice for those stuck on 2.4
> 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