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

James E. King III reassigned THRIFT-1417:
-----------------------------------------

    Assignee:     (was: James E. King III)

> 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
>            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)

Reply via email to