[ 
https://issues.apache.org/jira/browse/THRIFT-256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670986#action_12670986
 ] 

David Reiss commented on THRIFT-256:
------------------------------------

It still doesn't work if the IDL has a service with the same name as the Python 
module ("namespace"), because it tries to do relative imports.  I think that is 
a wontfix, though.

> Generated code for child service is invalid if both child and parent are 
> defined in the same Thrift file
> --------------------------------------------------------------------------------------------------------
>
>                 Key: THRIFT-256
>                 URL: https://issues.apache.org/jira/browse/THRIFT-256
>             Project: Thrift
>          Issue Type: Bug
>          Components: Compiler (Python)
>            Reporter: Esteve Fernandez
>         Attachments: 
> 0001-THRIFT-256.-python-Fix-inheritance-of-services-in-t.patch, 
> 0002-THRIFT-256.-python-Fix-inheritance-of-services-in-t.patch, 
> thrift-256.patch
>
>
> Given a Thrift file like this:
> simple.thrift:
> service Base {
> }
> service Child extends Parent {
> }
> the parent service is not qualified properly in the child service code.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to