[Biopython-dev] test_PhyloXML.py on Python 3

Peter biopython at maubp.freeserve.co.uk
Tue Aug 17 15:41:57 EDT 2010


On Tue, Aug 17, 2010 at 5:37 PM, Peter wrote:
>
> The other three uses of long I identified can probably be solved
> neatly like this:
>
> try:
>    end = long(handle.tell())
> except NameError:
>    #Python 3 where 2to3 long fixer was disabled
>    end = handle.tell()
>

On closer inspection, probably we can just remove the long():

http://github.com/biopython/biopython/commit/e11eb52413e5fe78619c4cf5511a4db1319931fa

Michiel - is this OK? This was indexing code you wrote to
replace the Mindy stuff as I recall:

http://github.com/biopython/biopython/commit/f17fb613cccd15e28f9f98709742f48d87ae27d4

http://github.com/biopython/biopython/commit/f17fb613cccd15e28f9f98709742f48d87ae27d4

Files:

* Bio/Prosite/__init__.py
* Bio/Prosite/Prodoc.py
* Bio/SwissProt/SProt.py

Peter



More information about the Biopython-dev mailing list