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

2012-05-16 Thread Jake Farrell (JIRA)

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

Jake Farrell updated THRIFT-1604:
-

Patch Info: Patch Available

> 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




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

2012-05-16 Thread Jake Farrell (JIRA)

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

Jake Farrell updated THRIFT-1604:
-

Attachment: THRIFT-1604.patch

Updates compiler and py lib to use "as" in place of "," for exceptions

> 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