[
https://issues.apache.org/jira/browse/THRIFT-583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
James Clarke updated THRIFT-583:
--------------------------------
Attachment: thrift-583-fix-py-newstyle-on-iface.patch
> gen py:new_style produces old style Iface class
> -----------------------------------------------
>
> Key: THRIFT-583
> URL: https://issues.apache.org/jira/browse/THRIFT-583
> Project: Thrift
> Issue Type: Bug
> Components: Compiler (Python)
> Reporter: James Clarke
> Priority: Minor
> Attachments: thrift-583-fix-py-newstyle-on-iface.patch
>
>
> The generated Iface class produced with --gen py:new_style is still old style.
> {code:title=thrift.test}
> service TestService {
> bool ping(),
> }
> {code}
> {code}
> $ thrift --gen py:new_style test.thrift
> $ grep "^class" gen-py/test/TestService.py
> class Iface:
> class Client(Iface):
> class Processor(Iface, TProcessor):
> class ping_args(object):
> class ping_result(object):
> $
> {code}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.