You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Jeff Potts (JIRA)" <ji...@apache.org> on 2011/05/27 17:18:47 UTC

[jira] [Commented] (CMIS-376) ResultSet as old-style class

    [ https://issues.apache.org/jira/browse/CMIS-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13040279#comment-13040279 ] 

Jeff Potts commented on CMIS-376:
---------------------------------

Completed and checked in to head. Thanks for submitting this, Simon.

> ResultSet as old-style class
> ----------------------------
>
>                 Key: CMIS-376
>                 URL: https://issues.apache.org/jira/browse/CMIS-376
>             Project: Chemistry
>          Issue Type: Bug
>          Components: python-cmislib
>            Reporter: Simon Poirier
>            Assignee: Jeff Potts
>            Priority: Minor
>
> cmislib.model.ResultSet is defined as
>   [...]
>   class ResultSet():
>   [...]
> This notation is both incompatible with python2.4 and makes the ResultSet an old-style class (dropped in python3.0+)
> It should be changed to inherit object, as such:
>   class ResultSet(object):
> I don't see a reason for cmislib.model.ResultSet to be defined as an old-style class and it should be changed for compatibility.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira