You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2012/05/16 04:46:06 UTC
[jira] [Created] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Jake Farrell created THRIFT-1604:
------------------------------------
Summary: 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
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] [Commented] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Will Pierce (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13279439#comment-13279439 ]
Will Pierce commented on THRIFT-1604:
-------------------------------------
okie, i'm secretly happy to drop 2.4 support. it caused me some annoyance in THRIFT-1115
> 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
[jira] [Updated] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ 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] [Commented] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Will Pierce (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13278509#comment-13278509 ]
Hudson commented on THRIFT-1604:
--------------------------------
Integrated in Thrift #473 (See [https://builds.apache.org/job/Thrift/473/])
Thrift-1604:Python exxception handeling for changes from PEP3110
Client: py
Patch: Jake Farrell
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 (Revision 1339941)
Result = FAILURE
> 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
[jira] [Commented] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Roger Meier (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Closed] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/THRIFT-1604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-1604.
--------------------------------
Resolution: Fixed
Fix Version/s: 0.9
> 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
[jira] [Updated] (THRIFT-1604) Python exception handeling for
changes from PEP 3110
Posted by "Jake Farrell (JIRA)" <ji...@apache.org>.
[ 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