[U-Boot] [RFC PATCH v2 2/2] tools: make genboardscfg.py compatible with Python 2.5
Masahiro Yamada
yamada.m at jp.panasonic.com
Mon Aug 25 03:53:48 CEST 2014
Hi Tom,
On Sat, 23 Aug 2014 08:44:49 -0400
Tom Rini <trini at ti.com> wrote:
> On Fri, Aug 22, 2014 at 03:01:30PM +0900, Masahiro Yamada wrote:
>
> > Tom,
> >
> >
> > I noticed this patch's gone to RFC.
> >
> > Did you decide to drop python2.5 from support?
> >
> > If so, I will use "except ... as ..." and "with ... as ..."
> > statements in my other patches.
>
> So, I'm not 100% sure just yet how to handle this. I'm biased about
> supporting python2.6 since that's what my big compute resources are
> pinned to (until Ubuntu 10.04 LTS is no longer supported). And I'm
> making them switch to buildman too. It's also possible (and encouraged,
> relatively speaking, by the admins) to add required new software
> /over/there. So how hard is it to keep what MAKEALL/buildman needs (so
> genboardscfg.py) and maybe even convert buildman to python2.5-or-later ?
Unfortunately, python 2.5 is missing some important statements
which are often used these days.
We can change "except ... as ..." to "except ... , ..." automatically,
but we have to convert "with ... as ..." by hand.
I am not happy (and I guess Simon neither)
about converting already working scripts.
OK.
Let's support only python 2.6 or lator (but not 3.x)
and see what will happen.
Perhaps someone may complain about it,
but I think we can excuse here because they are no-core utilities.
Anyway, I think python 2.5 is too old, so this is an acceptable limition.
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list