[Biopython-dev] Post Biopython 1.62 release, clean-up after dropping Python 2.5

Chris Mitchell chris.mit7 at gmail.com
Thu Aug 29 16:03:51 UTC 2013


Sounds good. Just took care of (7), running the test suite and will send a
pull request when that passes.

Chris


On Thu, Aug 29, 2013 at 11:30 AM, Peter Cock <p.j.a.cock at googlemail.com>wrote:

> On Thu, Aug 29, 2013 at 4:20 PM, Chris Mitchell <chris.mit7 at gmail.com>
> wrote:
> > I was going to take a stab at (3), but it seems that _namedtuple.py
> doesn't
> > exist.
> >
> > Looking under _py3k as well as grep -Ri namedtuple ./*
> >
> > fails to find it. I'm pulling from
> > https://github.com/biopython/biopython.git
>
> Oops. I wrote that email on my latop - it was a file never checked
> into source code control. Looking back it was a plan for allowing
> us to use named tuples on older versions of Python. Sorry!
>
> But I have come up with another easy task instead,
>
> (7) Update exception style from this,
>
> except ErrorClass, variable_name:
>
> to this:
>
> except ErrorClass as variable_name:
>
> The second form is the only allowed syntax in Python 3,
> but was not possible under Python 2.5.
>
> Regards,
>
> Peter
>



More information about the Biopython-dev mailing list