Re: [PATCH] Make spice_codegen.py work on both Python 2 and 3

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

 



On Tue, 31 Mar 2015 18:40:13 +0200
Christophe Fergeau <cfergeau@xxxxxxxxxx> wrote:

> We don't bundle pyparsing for example, and six.py is indeed available
> from distros (fedora has it too), so I don't think it should be bundled
> here.

I'll remove it, then.  I'll just send out a new patch, which should be
quite a bit easier to digest :)

> > Ah, yes.  That's one of the other big changes in python3: integer division.
> > The proper python3 way to do it is the // operator, which has apparently been
> > available in python2 since 2.2:
> > 
> > https://docs.python.org/release/2.2.3/whatsnew/node7.html
> 
> Ah thanks for the explanation, // looks better than my int() hack :)

I'll take care of this while I'm at it.

Attachment: pgp5ReYxeEeM3.pgp
Description: OpenPGP digital signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]