[Yum-devel] [PATCH] setup: make build work on python 3

Martin Kletzander mkletzan at redhat.com
Fri Apr 5 13:19:52 UTC 2013


On 04/05/2013 03:12 PM, Martin Kletzander wrote:
> In python 3, the string module doesn't have 'split' function anymore
> and users are encouraged to use '.split()' on the string itself.  Also
> 'map()' is lazy and returns an iterable map object, but setup expects
> only a list, so it has to be wrapped in 'list()'.  All of this works
> with python2 as well.
> 

Oh, darn, I forgot to mention this is for yum-metadata-parser package.

Martin



More information about the Yum-devel mailing list