chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Potts (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CMIS-376) ResultSet as old-style class
Date Wed, 14 Dec 2011 18:39:31 GMT

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

Jeff Potts updated CMIS-376:
----------------------------

    Affects Version/s: cmislib 0.4.1
        Fix Version/s: cmislib 0.5
    
> 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
>    Affects Versions: cmislib 0.4.1
>            Reporter: Simon Poirier
>            Assignee: Jeff Potts
>            Priority: Minor
>             Fix For: cmislib 0.5
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message