[Biopython-dev] Python 2 and 3 migration thoughts

Peter Cock p.j.a.cock at googlemail.com
Sat Nov 2 13:51:10 EDT 2013


On Sat, Nov 2, 2013 at 2:39 PM, Peter Cock wrote:
> On Sat, Oct 26, 2013 at 7:44 PM, Peter Cock wrote:
>>
>> A new pull request for people to comment on, which eliminates
>> all but two important fixers. As a bonus this makes installation
>> under Python 3 much much quicker:
>>
>> https://github.com/biopython/biopython/pull/250

https://github.com/peterjc/biopython/tree/py3fixes

> I take it there are no objections to me merging this work?
> If not, I will try to do it tomorrow (Sunday) or early next week,
> and move on to the final issues before we can drop 2to3
> (which I do not anticipate being problematic).

They are not troublesome, perhaps worth applying soon too?
(Can anyone propose a more elegant solution to __nonzero__
versus __bool__ than to just define both?)

This allows us to stop using 2to3 (something NumPy have
also managed in their recent NumPy 1.8 release), making
installation of Biopython from source under Python 3.3
faster and much simpler:

https://github.com/peterjc/biopython/tree/py3more

Regards,

Peter


More information about the Biopython-dev mailing list