[Biopython-dev] [Bug 2509] New: Deprecating the .data property of the Seq and MutableSeq objects

bugzilla-daemon at portal.open-bio.org bugzilla-daemon at portal.open-bio.org
Thu Jun 5 10:18:11 UTC 2008


           Summary: Deprecating the .data property of the Seq and MutableSeq
           Product: Biopython
           Version: Not Applicable
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Main Distribution
        AssignedTo: biopython-dev at biopython.org
        ReportedBy: biopython-bugzilla at maubp.freeserve.co.uk
OtherBugsDependingO 2351

In anticipation that the Seq and MutableSeq objects will eventually subclass
the python string, their data property is not needed and confusing.  The
following patch will replace it with a new-class style property methods and a
docstring declaring it to be deprecated.

In the case of the Seq object, the sequence should be read only but the user
can currently modify the data property in place.

In the case of the MutableSeq, the fact that it is internally an array of
characters should be a private implementation detail.

Configure bugmail: http://bugzilla.open-bio.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the Biopython-dev mailing list