Re: [PATCH] dtc and Python 3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Tue, Jul 10, 2018 at 09:57:56AM +0200, Lumir Balhar wrote:
> Hello.
> 
> Because Linux distributions started with dropping Python 2 recently, I tried
> to prepare patches to make DTC Python 3 compatible.

Heh, I was just thinking of suggesting that we to Simon that we should make
sure the extensions are Python 3 compatible.

> I've made possible to specify Python executable via an environment variable
> (with Python 2 as default) and all necessary changes to make all tests pass
> with both Pythons.

Nice!

> Let me know if you find something wrong or if I can do something
> more.

Having all the patches as attachments is awkward for review.  The
normal convention for dtc patches (like many projects) is to have one
patch per mail, in the body of the mail.  git send-email is usually
the easiest way to do that.

I'll need to get reviews of these from Simon Glass as well, since the
Python interface is his work.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Device Tree]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux