[
https://issues.apache.org/jira/browse/THRIFT-2509?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sylwester Lachiewicz resolved THRIFT-2509.
------------------------------------------
Resolution: Fixed
The Python generator escapes Python keywords ({{python_keywords_}} set +
{{update_keywords_for_validation()}},
[compiler/cpp/src/thrift/generate/t_py_generator.cc|https://github.com/apache/thrift/blob/master/compiler/cpp/src/thrift/generate/t_py_generator.cc]
lines 379-382). Resolving as Fixed.
> Uncompileable Python code due to language keywords in IDL
> ---------------------------------------------------------
>
> Key: THRIFT-2509
> URL: https://issues.apache.org/jira/browse/THRIFT-2509
> Project: Thrift
> Issue Type: Bug
> Components: Python - Compiler
> Reporter: Jens Geyer
> Priority: Major
>
> The file https://github.com/mvirkkunen/line-protocol/blob/master/line.thrift
> leads to errors due to language keywords being part of the IDL file.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)