[Biopython-dev] long for longitude in Bio.Phylo and Python 3

Peter biopython at maubp.freeserve.co.uk
Mon Jul 26 16:47:51 UTC 2010


Hi Eric et all,

Background: Eric has found a problem in Bio.Phylo with variables, arguments
and properties called "long" for longitude which the 2to3 script is wrongly
converting into "int", see: http://bugs.python.org/issue2734

If the remaining issue with Bug 2734 is fixed, we would still have a problem
running the conversion with 2to3 as included with all releases of Python to
date (i.e. 2.6, 2.7, 3.1), which would complicate deployment.

Eric: It could break backwards compatibility, but would a switch from lat &
long to latitude and longitude be the least painful solution? Do you think
we could support both names as part of a deprecation cycle?

Peter



More information about the Biopython-dev mailing list