[U-Boot] [RFC PATCH v2 0/2] Make Python scripts compatible with older versions
Masahiro Yamada
yamada.m at jp.panasonic.com
Mon Aug 4 14:59:37 CEST 2014
Hi.
>
> > It seems that those scripts only work on Python versions 2.6 - 2.7?
I took a quick look and I found Python 3.x is not comatible 2.x at all.
3.x requires the "print" is called like
print(msg, file=sys.stderr)
but it failes in Python 2.7.x.
Moreover, "except ... , ..." fails in 3.x
while "except ... as ..." fails in 2.5 or earlier.
If the compatibility with python 3 is the requirement,
I can't do this. I must throw Python scripts away.
Best Regards
Masahiro Yamada
More information about the U-Boot
mailing list