[
https://issues.apache.org/jira/browse/THRIFT-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907521#comment-14907521
]
Hudson commented on THRIFT-3290:
--------------------------------
SUCCESS: Integrated in Thrift #1664 (See
[https://builds.apache.org/job/Thrift/1664/])
THRIFT-3290: Using from in variable names causes the generated Python code to
have errors (jfarrell: rev a1ae93f4beee0d25a96b51b3022e0bde79ecb445)
* compiler/cpp/src/thriftl.ll
* test/py/explicit_module/test3.thrift
* test/py/explicit_module/runtest.sh
> Using from in variable names causes the generated Python code to have errors
> ----------------------------------------------------------------------------
>
> Key: THRIFT-3290
> URL: https://issues.apache.org/jira/browse/THRIFT-3290
> Project: Thrift
> Issue Type: Bug
> Components: Python - Library
> Reporter: Prathik Rajendran M
> Fix For: 0.9.3
>
>
> When we have a struct such as
> struct structA {
> 1: required string from,
> 2: required string to,
> }
> The python code generated has errors since from is a keyword in Python.
> Therefore we need to add from as a reserved keyword.
> Pull request: https://github.com/apache/thrift/pull/579
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)