biopython/biopython — pull request #52 by lennax (2012-07-11 06:34:49+00:00)
Title: Change FeatureLocation str to math notation.

I propose that, given the tangled mess of gene sequence numbering, it would be more clear for the string representation of FeatureLocation to use mathematical notation.

1-based, fully closed, a la GenBank: 123..150, very confusing for programmers.
FeatureLocation currently represents this as [122:150], zero-based, right-open, just like a Python list.
This patch would change the string representation to [122,150).

This would be useful to emphasize to an end user that these coordinates are right-open.

The question is, would this cosmetic alteration break anything?