You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Esteve Fernandez (JIRA)" <ji...@apache.org> on 2009/01/24 13:44:00 UTC

[jira] Updated: (THRIFT-284) tutorial examples still use __str__

     [ https://issues.apache.org/jira/browse/THRIFT-284?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Esteve Fernandez updated THRIFT-284:
------------------------------------

    Attachment: thrift-284.patch

Replaces __str__ with __repr__ (%r)

> tutorial examples still use __str__
> -----------------------------------
>
>                 Key: THRIFT-284
>                 URL: https://issues.apache.org/jira/browse/THRIFT-284
>             Project: Thrift
>          Issue Type: Bug
>            Reporter: Esteve Fernandez
>         Attachments: thrift-284.patch
>
>
> Tutorial examples still use __str__, but the Thrift compiler no longer generates that method because of THRIFT-241 A solution is to use repr() instead

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