Prathik Rajendran M created THRIFT-3290:
-------------------------------------------

             Summary: 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)

Reply via email to