You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "James E. King III (JIRA)" <ji...@apache.org> on 2019/01/26 15:02:00 UTC
[jira] [Commented] (THRIFT-1417) repr behavior is not consistant
[ https://issues.apache.org/jira/browse/THRIFT-1417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16753101#comment-16753101 ]
James E. King III commented on THRIFT-1417:
-------------------------------------------
At least an issue was added; too bad the technical debt never got resolved.
> repr behavior is not consistant
> -------------------------------
>
> Key: THRIFT-1417
> URL: https://issues.apache.org/jira/browse/THRIFT-1417
> Project: Thrift
> Issue Type: Bug
> Components: Python - Compiler, Python - Library
> Environment: Ubuntu 10.04.1 LTS Lucid
> Reporter: Roger Meier
> Assignee: James E. King III
> Priority: Major
>
> I have applied the following patch with THRIFT-1416
> {noformat}
> + # TODO ensure same behavior for repr within generated python variants
> # ensure exception's repr method works
> - x_repr = repr(x)
> - self.assertEqual(x_repr, 'Xception(errorCode=1001, message=\'Xception\')')
> + #x_repr = repr(x)
> + #self.assertEqual(x_repr, 'Xception(errorCode=1001, message=\'Xception\')')
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)