chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CMIS-376) ResultSet as old-style class
Date Fri, 27 May 2011 15:18:47 GMT

    [ 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

Mime
View raw message