[
https://issues.apache.org/jira/browse/THRIFT-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14658217#comment-14658217
]
ASF GitHub Bot commented on THRIFT-3290:
----------------------------------------
Github user prathik commented on the pull request:
https://github.com/apache/thrift/pull/579#issuecomment-127997240
Hi @jfarrell, Thank you for pointing that out. Here is the issue ticket
https://issues.apache.org/jira/browse/THRIFT-3290.
Thanks,
Prathik
> 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
> Reporter: Prathik Rajendran M
>
> 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)