[Biopython-dev] [Biopython (old issues only) - Bug #2509] (Closed) Deprecating the .data property of the Seq and MutableSeq objects

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Thu Nov 10 02:38:31 UTC 2016


Issue #2509 has been updated by Vincent Davis.

Description updated
Status changed from New to Closed
Assignee changed from Biopython Dev Mailing List to Vincent Davis
% Done changed from 0 to 100

The patch is obsolete.  This is a really old issue and not clearly still relevant.
Closing.


----------------------------------------
Bug #2509: Deprecating the .data property of the Seq and MutableSeq objects
https://redmine.open-bio.org/issues/2509#change-15354

* Author: Peter Cock
* Status: Closed
* Priority: Normal
* Assignee: Vincent Davis
* Category: Main Distribution
* Target version: Not Applicable
* URL: 
----------------------------------------
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.

---Files--------------------------------
bug2509.patch (10.3 KB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here and login: http://redmine.open-bio.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20161110/fe6d45b0/attachment.html>


More information about the Biopython-dev mailing list