thrift-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James E. King III (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (THRIFT-1417) repr behavior is not consistant
Date Sat, 26 Jan 2019 15:23:00 GMT

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

James E. King III updated THRIFT-1417:
--------------------------------------
    Affects Version/s: 0.8

> 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
>    Affects Versions: 0.8
>         Environment: Ubuntu 10.04.1 LTS Lucid
>            Reporter: Roger Meier
>            Priority: Minor
>
> 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)

Mime
View raw message