chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simon Poirier (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CMIS-376) ResultSet as old-style class
Date Wed, 18 May 2011 20:16:48 GMT
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
            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