[Biopython-dev] [Biopython (old issues only) - Bug #2351] Make Seq more like a string, even subclass string?

redmine at redmine.open-bio.org redmine at redmine.open-bio.org
Wed Sep 10 13:55:18 UTC 2014

Issue #2351 has been updated by Michiel de Hoon.

Yes it should inherit from Unicode strings. With Python >= 3.3, the memory storage requirements for Unicode strings is the same as for Ascii strings in Python 2.
I also agree that we can change Seq equality. We may as well do it as the same time as changing the base class.
Bug #2351: Make Seq more like a string, even subclass string?

Author: Peter Cock
Status: New
Priority: Normal
Assignee: Biopython Dev Mailing List
Category: Main Distribution
Target version: Not Applicable

We've started talking on the mailing list about making the SeqRecord class a subclass of the Seq object, and making that a subclass of the Python string.

This bug is for holding patches - I suspect a lot of the discussion will continueon the mailing lists rather than here.

I explicitly have left the "assign to" field pointing at the dev mailinglist.

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/20140910/98175107/attachment.html>

More information about the Biopython-dev mailing list