[Biopython (old issues only) - Bug #2509] (Closed) Deprecating the .data property of the Seq and MutableSeq objects
[email protected] Thu, 10 Nov 2016 02:38:31 +0000
| Newsgroups | gmane.comp.python.bio.devel |
|---|---|
| Message-ID | <redmine.journal-15354.20161110023831.8d7f4e89bfc524fd@redmine.open-bio.org> |
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 _______________________________________________ Biopython-dev mailing list [email protected] http://mailman.open-bio.org/mailman/listinfo/biopython-dev