[U-Boot] [PATCH 0/9] Python 3.x support for patman & dtoc

Simon Glass sjg at chromium.org
Tue Sep 27 02:33:19 CEST 2016


Hi Paul,

On 26 September 2016 at 08:30, Paul Burton <paul.burton at imgtec.com> wrote:
> This series makes patman & dtoc run on python 3.x, which allows them to
> work without hacks on distributions where the python binary is python
> 3.x. All changes are made in a way that continue to work on python 2.x,
> so both tools should work on either major version of python.
>

Thanks for doing this! Does it still install correctly with setup.py?

>
> Paul Burton (9):
>   patman: Replace tabs with spaces
>   patman: Make print statements python 3.x safe
>   patman: Make exception handling python 3.x safe
>   patman: Import 'configparser' lower case to be  python 3.x safe
>   patman: Decode stdout/stderr as utf8, be python 3.x safe
>   patman: Use items() to iterate over dictionaries in python 3.x
>   dtoc: Use items() to iterate over dictionaries in python 3.x
>   dtoc: Decode strings for struct.unpack on python 3.x
>   dtoc: Make integer division python 3.x safe
>
>  tools/dtoc/dtoc.py              | 26 ++++++++++++++++++++-----
>  tools/dtoc/fdt_fallback.py      |  8 +++++++-
>  tools/dtoc/fdt_util.py          |  3 +++
>  tools/patman/checkpatch.py      | 16 ++++++++--------
>  tools/patman/command.py         |  2 +-
>  tools/patman/cros_subprocess.py |  6 +++---
>  tools/patman/get_maintainer.py  |  2 +-
>  tools/patman/gitutil.py         | 18 +++++++++---------
>  tools/patman/patchstream.py     |  6 +++---
>  tools/patman/patman.py          | 12 ++++++------
>  tools/patman/series.py          | 42 +++++++++++++++++++++--------------------
>  tools/patman/settings.py        | 28 ++++++++++++++++++---------
>  tools/patman/terminal.py        | 12 +++++++-----
>  tools/patman/test.py            |  2 +-
>  14 files changed, 111 insertions(+), 72 deletions(-)
>
> --
> 2.10.0
>

Regards,
Simon


More information about the U-Boot mailing list