[ https://issues.apache.org/jira/browse/THRIFT-3290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907498#comment-14907498 ]
ASF GitHub Bot commented on THRIFT-3290: ---------------------------------------- Github user jfarrell closed the pull request at: https://github.com/apache/thrift/pull/579 > 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: 1.0 > > > 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)