[Spice-devel] [PATCH] Make spice_codegen.py work on both Python 2 and 3 (take 2)

Christophe Fergeau cfergeau at redhat.com
Tue Apr 7 03:47:44 PDT 2015


On Wed, Apr 01, 2015 at 02:01:04PM +0200, Christophe Fergeau wrote:
> On Tue, Mar 31, 2015 at 12:44:09PM -0500, Alexander Wauck wrote:
> > This is a new version of my previous patch that does not include six.py.
> > It's still kind of big, but at least it's all spice-common changes now.
> > There are also a few other fixes that Christophe brought to my attention.
> > Note that six now needs to be installed on the system (python-six on
> > Fedora and Debian, six on PyPI).
> > 
> > This *should* be enough to make spice_codegen.py work on both Python 2
> > and Python 3.  The major changes are as follows:
> 
> I've checked that we get the same generated code before/after this patch, and
> with python 2 and python 3. I've also checked that both python-six and
> python3-six are most likely installed on fedora (removing python-six is
> not possible as dnf requires it, removing python3-six removes lots of
> things including libreoffice), so this patch is good to go for me, ack!

I've pushed it.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20150407/425df4ed/attachment.sig>


More information about the Spice-devel mailing list